ode4 in simulink and Fourth-order Runge-kutta (RK4) formula
12 views (last 30 days)
Show older comments
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 Comments
manmai
on 9 May 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
on 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?
Answers (0)
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!