ode4 in simulink and Fourth-order Runge-kutta (RK4) formula

12 visualizaciones (últimos 30 días)
Stone Lin
Stone Lin el 19 de En. de 2017
Comentada: waterhaha el 18 de Mzo. de 2022
Do the results of using simulink ode4 solver to solving differential equations and using matlab RK4 to solving the same differential equation are same? I set the same time step and the initial value. Why did I get different results, there are some error between the two results.
  5 comentarios
manmai
manmai el 9 de Mayo de 2017
Im sorry, Jan Simon. I already opened new thread (but, perhaps my post also is the answer to the question above, so please dont delete it, thanks).
waterhaha
waterhaha el 18 de Mzo. de 2022
i'd like to know if you find the reason that why the same model and input for SIMULINK with ode4 solver and VScode with classic RK4 algorithm resulting different result?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by