ODE45 for nonlinear problem
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
kindly check the below code....
2 comentarios
Respuestas (1)
darova
el 14 de Jun. de 2020
- avoid global. YOu can make nested function in your case
function linear_vs_nonlinear
% variables
% code
function SD_L=linear(t,s)
% code
end
end
- you have 4 equations, but only 2 initial conditions

- some operators are forgotten (multiplier i think)

6 comentarios
darova
el 29 de Jun. de 2020
How do you know that
? Usually
and
are uknowns if you have ODE.
and
should be given
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
