MATLAB solves ordinary differential equations of the form dy/dt = f(t,y)
, your differential equation is fully implicit, of the form f(t,y,dy/dt) = 0
. You can only solve it using ode15i
. For more information, refer to the documentation on Ordinary Differential Equations and ode15i
.
I'm trying to solve ode45 by this expression [closed]
-
02-10-2022 - |
Question
Can I use this form when i need to solve system of ODE by ode45 on MATLAB
dy(3)=dy(1)*dy(2)+y(3)*y(2)
I mean is my expression correct?
For example how can I solve this:
dy(3)=dy(1)*dy(2)+y(1)
dy(2)=dy(1)-y(2)
dy(1)=dy(2)+dy(3)/y(1)
initial conditions are :
y(1)=1
y(2)=0
y(3)=0
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow