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

12 visualizzazioni (ultimi 30 giorni)
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 Commenti
manmai
manmai il 9 Mag 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 il 18 Mar 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?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by