![photo](https://www.mathworks.com/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3799640_1522098336558_DEF.jpg)
Torsten
Statistics
0 Questions
6,172 Answers
RANK
15
of 288,988
REPUTATION
15,228
CONTRIBUTIONS
0 Questions
6,172 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
1,768
RANK
of 19,509
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 143,193
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Solve Function Doesn't Give All Solutions
Using x = solve(f,[T,L],'ReturnConditions',1) instead of x = solve(f,[T,L]) might help.
22 hours ago | 0
| accepted
setting initial conditions for laplace transformation
L_eqn1 = subs(L_eqn1,[Xb(0) Xr(0) Xf(0) theta(0) Xb_1(0) Xr_1(0) Xf_1(0) theta_1(0)],[0 0 0 0 0 0 0 0]) Same for the other equa...
1 day ago | 0
| accepted
I am getting non-linear constraint error in the optimization problem
"solve" chooses MATLAB's "ga" to tackle your problem, but "ga" has the restriction that integer constraints and nonlinear inequa...
3 days ago | 0
Solution of nonlinear equation is different for different initial values
Most probably, your second system of 5 equations has multiple solutions. If you add the lines x0 = x_n; F = [f1(x0(1), x0(2...
3 days ago | 0
I need to input a matrix of size 2x2 which is something like this A= [ 1 - 1.8629z-1 + 0.8669z-2 , 0 ; 0 , 1 -1.8695z-1 + 0.8737z- 2 ] which is a 2x2 Matrix
Define A as a function of z: A = @(z)[1-1.8629*z,0;0,1-1.8695*z+0.8737*z^2]; A(2) or as a symbolic matrix syms z A(z) A(z)...
3 days ago | 0
Why do I receive a given error?
According to the error message, MotorSpeed, SleepSpeedThreshold_int_dbl and/or Tref_Ramp are arrays, not scalars. So if you wa...
3 days ago | 0
Fourier Series Curve Fitting and giving its coefficient with respect to eqaution
Two ways: x = [0.015404238 0.027389034 0.03937383 0.051358625 0.063343421 0.075328217 0.087313012 0.099297808 0.111282604 0.123...
4 days ago | 1
Weird difference between matlab's evaluation of elliptic integral to my implementation
You have to supply k^2, not k: ellipke(0.25)
4 days ago | 1
| accepted
Make this equation periodic (repeating every t_c seconds)
Maybe like this: Q_peak = 1; t_s = 0.1; t_c = 0.3; fun = @(t)Q_peak*sin((pi*t)./t_s).^2.*(t>=0).*(t<=t_s); F = @(t)fun(mod(...
4 days ago | 0
| accepted
Optimaloptions doesn't seem to work
You didn't include the "options" setting in the call to "fsolve": x= fsolve(f,[0.01,0.01,0.01,0.01,0.9,0.1,0.1,0.1,10000],optio...
6 days ago | 0
| accepted
Printing all outputs of the function that has been solved via ode45
Assuming m and h are scalars, use [time_vert,sol_vert]=ode45(@(t,x)endoFlightDeriv(t,x,E,L,PhaseCode),tspan,x0,options) for i ...
6 days ago | 1
boundary conditions at infinity
You must use a sufficiently large number instead of "Inf" here: x = linspace(0,Inf,100)
6 days ago | 0
lsqnonlin (lsqcurvefit , fmincon) does not change the variables in an optimization process to find the best fit
We don't know if you get modified values for the array "force" from "ABAQUS" if the input vector "x" to "sim_res" is slightly ch...
6 days ago | 2
| accepted
DIfferences on Sloped field using 'dsolve' and 'ode45'
The dsolve solution satisfies y(0) = 1: cond = y(0) == 1; the ode45 solution satisfies y(-5) = 1: [u,v] = ode45(f,[-5 5],1);...
7 days ago | 1
| accepted
How to integrate the Rice distribution and build a graph?
As written, H is an integration variable - you cannot prescribe a value for it since it runs from 0 to Inf. v = 1; sigma = 0.0...
7 days ago | 0
How to define a binary variable in non linear constraints
Solve two problems: One with x(1)+x(2)+x(3)>= 0 x(4)=1 the other with x(1)+x(2)+x(3)<= 0 x(4)=0 and take the best of the...
7 days ago | 0
why do i get 'off', 'Octave:abbreviated-property-match' error warning in eeglab?
Maybe you set ismatlab = false somewhere, but started in a MATLAB environment ?
8 days ago | 0
Optimisation for 3-element Windkessel Model Not Working - Using Least Squares Method and fminsearch. Advice? Should I use other optimisation algorithms?
I'd try to continue with the code below. It seems that a variation of your initial parameters does not cause a change in P suc...
8 days ago | 0
| accepted
problem of 2d PDE animation
g = 'squareg'; b = 'squareb3'; c=1;d=1;a=0;f=0; [p,e,t]=initmesh(g); x=p(1,:).';y=p(2,:).'; u0=atan(cos(pi*x)); ut0 = sin(...
8 days ago | 0
| accepted
Error With Least Squares Approximation
Besides the fact that it's numerical nonsense to fit a polynomial of degree 20 to data: What do you get if you simply use coef...
9 days ago | 0
Failure in initial nonlinear constraint function evaluation. FMINCON cannot continue.
Most probably you mean c(i) = -(((X(i) - x_curr)/sqrt((X(i) - x_curr)^2 + (X(i+n) - y_curr)^2 )) * X(i + 3*n) + ((X...
9 days ago | 0
Initial Conditions for Newton Raphson Method for 9 equations 9 unknowns problem set
It's the same behaviour with "fsolve", MATLAB's nonlinear solver. The seven equation problem is solved without problems, and th...
9 days ago | 0
How to assign outputs of a function to an anonymous function in order to optimize with lsqcurvefit
What hinders you from using the usual coding like this ? % test data xdata = ... [0.9 1.5 13.8 19.8 24.1 28.2 35.2 60.3 74.6...
10 days ago | 1
This is a macroeconomic expression under the topic of real rigidities in long run
syms W_i P nu L n m p sigma real omega = (W_i/P-nu)*L/n*(m^p*W_i/p)^sigma simplify(diff(omega,W_i))
11 days ago | 0
intergration of function failed to calculate
syms X1 a0 a1 a2 a3 a4 a5 a6 L EI yApprox = a0 + a1*X1 + a2*X1^2 + a3*X1^3+ a4*X1^4 + a5*X1^5 + a6*X1^6; y1Approx= diff(yApp...
11 days ago | 0
| accepted
Chemical reaction model in accompany with CFD in Matlab
MATLAB is not the suitable tool to solve CFD problems. Use ANSYS or something similar for this. Usually, these tools already hav...
11 days ago | 1
matlab guide for Calculating 6 dimensional numerical integral Dosen't work
tmax in Q1 must be a scalar, not a function handle. Try "integralN": https://uk.mathworks.com/matlabcentral/fileexchange/47919...
13 days ago | 2
Solving a system of differential equations with a variable stored in an array
This is what you get with your equations and your data for beta: T = 0:30:360; b = [0.50, 0.49, 0.45, 0.33, 0.27, 0.32, 0.37, ...
13 days ago | 0
Newton's Method on MATLAB for Stationary Solutions for the Non-linear Klein-Gordon Equation
All you see in the graphs are floating point errors. Your system of equations has solution x(i) = 0 for 1 <= i <= numBases and...
14 days ago | 0
| accepted
Defining a time-dependent boundary feature
https://uk.mathworks.com/help/pdf_doc/pde/pde.pdf Chapters: Specify Boundary Conditions > Nonconstant Boundary Conditions Sp...
14 days ago | 0