질문


Unable to reduce to square system because the number of equations differs from the number of indeterminates.
Hi everyone, I am trying to solve two second order differential equations with two unknowns. However, matlab gives the warning t...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Using yyaxis with lsqcurvefit
Hi everyone, I'm trying to use yyaxis with lsqcurve fit on this code: function ODE4522Aug2018 %--------------------------...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Adding a second y-axis with a different scale when fitting a curve.
Hi everyone, I am trying to add a second y-axis with a different scale using the attached code: function ODE4522Aug2018 ...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Plot coming up blank
Hi everyone, I am trying to plot function ODE15s20Aug2018 %% VARIABLES % y(1) % y(2) % y(3) % y(4)...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


The entries in tspan must strictly increase or decrease.
Hi everyone, I am following: <https://www.mathworks.com/matlabcentral/answers/314965-parameter-estimation-for-a-system-of-...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error using sym/cat>checkDimensions (line 70) CAT arguments dimensions not consistent.
Hi everyone, On running the code on the attachment/or dropbox link https://www.dropbox.com/s/l5f3096vinkxmuc/ODE15iExample.m?...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Is there any systemic way of determining a better guess while solving DAEs using ODE15s?
When running the attached code (or code on the dropbox link): https://www.dropbox.com/s/7sz6gli891k0u4l/simultaneousEquations...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error using vertcat Dimensions of arrays being concatenated are not consistent.
High everyone, I am unsuccessful in getting consistent dimensions for t and y in this code: https://www.dropbox.com/s/7sz6gli...

5년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Error using str2sym (line 83) Unable to convert string to symbolic expression: L 1 (C 103): BADCH: Invalid character(s).
Hi everyone, I am unsuccessful in converting string to symbolic expression on this code: https://www.dropbox.com/s/xuauj97inb...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error using mupadengine/feval (line 187) Invalid parameter '1'.
Hi everyone, I am trying to solve 7 ODEs coupled with 9 algebraic equations on this link https://www.dropbox.com/s/98ovi5xlbb...

5년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Error using sym>convertChar (line 1448)
Hi everyone, I get the error message: "Error using sym>convertChar (line 1448) Character vectors and strings in the first...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error using sym>convertChar (line 1448) Character vectors and strings in the first argument can only specify a variable or number. To evaluate character vectors and strings representing symbolic expressions, use 'str2sym'.
I am trying to solve equation systems, which contain algebraic as well as differential equations. To do this symbolically ...

5년 초과 전 | 답변 수: 0 | 1

0

답변

질문


This DAE appears to be of index greater than 1.
Hi everyone, I am trying to solve 16 DAEs. The code can be seen on the attachment. if true % code function simultaneo...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


ODE15s give an error "Not enough input arguments."
Hi all I am trying to solve 16 simultaneous equations (DAEs) using ODE15s. The equations are: %%EQUATIONS %dy(3)/...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Matlab BVP solver that solves a system of DAE that are coupled with a system of algebraic equation
Is there any Matlab BVP solver that solves a system of DAE that are coupled with a system of algebraic equation?

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Is it possible to optimize the parameters and initial conditions such that the variables calculated using the set of DAEs in matlab fit the experimental results
Hi all, I would like to ask if it is possible to optimise both the parameters and the initial conditions such that the variab...

거의 6년 전 | 답변 수: 0 | 0

0

답변

질문


Undefined operator '==' for input arguments of type 'struct'. Error in decic (line 41) free_yp = find(fixed_yp0 == 0); Error in IMWFGD (line 111) [y0, yp0] = decic(f, t0, y0est, yp0est, [], opt) >>
Hi all, I am trying to run a script to solve 10 DAEs, but I get an error message " Undefined operator '==' for input arguments o...

거의 6년 전 | 답변 수: 1 | 0

1

답변

질문


Solve for x in an algebraic equation
I would like to solve for x in the following algebraic equation: syms a b c d x e f g h i eqn = x-(lambertw(0, e*exp(log(...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


How to solve two coupled first order ODEs and use the solution (through curve fitting to experimental data) to optimize the parameters through fminsearch
I am solving two coupled ODEs with the intention of optimising the parameters of the analytical solution using fminsearch. I am ...

대략 6년 전 | 답변 수: 1 | 0

1

답변

질문


Index exceeds matrix dimensions (Monod kinetics and curve fitting)
Hi, I'm trying to fit dS/dt = -v1*ktot1*SSA1*S*(1-Kad1*S/(1+Kad*S)) on to experimental data (deg25deg.mat). Yet I get this error...

6년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Hi everyone, I am trying to solve a Diffusion-Convection-Reaction PDE (1D) using Crank-Nicholson Method given by dC/dt = D*(d^2*C/dx^2)-u*(dC/dx)-R(C). I get the " Index exceeds matrix dimensions" error message, despite properly defining variables.
%% Solving Diffusion-Convection-Reaction PDE (1D) using Crank-Nicholson Method % dC/dt = D*(d^2*C/dx^2)-u*(dC/dx)-R(C) clear a...

6년 초과 전 | 답변 수: 0 | 0

0

답변

질문


"index exceeds matrix dimensions" error
What can I change on the quickersim routine (see attached importMeshGmsh.m) so that I can import a gmsh file (see attached react...

6년 초과 전 | 답변 수: 0 | 0

0

답변