How to convert a differential equation to differnce equation?

1 Ansicht (letzte 30 Tage)
SANDEEP KUMAR R
SANDEEP KUMAR R am 10 Feb. 2017
Kommentiert: Torsten am 10 Feb. 2017
xdot=F(x,u) to xk+1=f(xk,uk)

Antworten (1)

Torsten
Torsten am 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 Kommentare
SANDEEP KUMAR R
SANDEEP KUMAR R am 10 Feb. 2017
Any function in matlab that can do the conversion?
Torsten
Torsten am 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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by