MATLAB: Why ode45 response slows down

ode45slow responseslugish response

Ode45 program slows down during execution.
Among plenty of tuning variables it becomes very difficult to guess which one will make it fast?
Any help please?
Thanking Abhijit

Best Answer

This depends on what you are integrating. Consider using ode15s instead.
Related Question