提问


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...

6 years 前 | 0 个回答 | 0

0

个回答

提问


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

6 years 前 | 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 ...

6 years 前 | 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)...

6 years 前 | 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-...

6 years 前 | 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?...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 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...

6 years 前 | 2 个回答 | 0

2

个回答

提问


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 ...

6 years 前 | 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...

6 years 前 | 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)/...

6 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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...

7 years 前 | 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...

7 years 前 | 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...

7 years 前 | 0 个回答 | 0

0

个回答