How to convert a differential equation to differnce equation?
Show older comments
xdot=F(x,u) to xk+1=f(xk,uk)
Answers (1)
Torsten
on 10 Feb 2017
0 votes
Take a look at the "Methods" section under
https://en.wikipedia.org/wiki/Numerical_methods_for_ordinary_differential_equations
Best wishes
Torsten.
2 Comments
SANDEEP KUMAR R
on 10 Feb 2017
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.
Categories
Find more on Dynamic System Models 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!