How to convert a differential equation to differnce equation?
1 view (last 30 days)
Show older comments
xdot=F(x,u) to xk+1=f(xk,uk)
0 Comments
Answers (1)
Torsten
on 10 Feb 2017
Take a look at the "Methods" section under
https://en.wikipedia.org/wiki/Numerical_methods_for_ordinary_differential_equations
Best wishes
Torsten.
2 Comments
Torsten
on 10 Feb 2017
If you use one of the ODE-integrators under
https://de.mathworks.com/help/matlab/ref/ode45.html
the conversion method is already integrated.
If you want to write your own ODE solver, you will have to implement the method on your own.
Best wishes
Torsten.
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!