How to solve non linear system of ODE

7 次查看(过去 30 天)
Hi all
I've searched all over MATLAB forums with no success. Please help!
I got these 3 ODE's:
‏‏לכידה.JPG
The unkowns are:
Vc1, Vds, Vc3
All the rest of the variables are known.
I succeeded solving the first equation using the dsolve function.
I solved the second equation using solve to find V'c3 as a function of the other variables, then I've done dsolve for the expression I got, and equaled it to V'c3 in order to find Vc3 as a function of (time, Vds).
Now I'm trying to use ODE45 in order to find Vds from the 3rd equation, but I'm having trouble with it.
I got errors telling me to use numbers instead of variables, so I didn't add my code in here. I'm just afraid that it will be useless to you since it has number instead of variables (I used the numerical values of R1, R2, C3 Etc. instead of the variables themselves)
Let me know please if you think it's a good way of solving or if you have any other idea. I've tried everything! ????

回答(1 个)

Star Strider
Star Strider 2020-1-22
If you are fitting the differential equations to data, see Monod kinetics and curve fitting and Parameter Estimation for a System of Differential Equations for examples.
If you are starting with the Symbolic Math Toolbox, do not use dsolve to solve them if you want to estimate their parameters. Instead, do the procedure described in Matlab gives no result when I use the ODE (Ordinary Differential Equations) then use that ‘odefcn’ result as the differential equation to estimate the parameters.
Make appropriate changes so that your differential equations and data are compatible with the fitting or optimisation function you want to use.

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by