Error occurring while solving odes using ode15s
2 views (last 30 days)
Show older comments
Hello,
I am trying to solve a systems of nonlinear ODE using ODE15s but I keep getting an error after about 29 seconds and I can't figure out what is causing the error.
see a screen shot of the error.
What could be the likely cause of this error.
10 Comments
Answers (1)
Sulaymon Eshkabilov
on 1 Aug 2021
Edited: Sulaymon Eshkabilov
on 1 Aug 2021
The computed solution might be "nan" or "inf" only. Briefly speaking the size mismatch.
2 Comments
Walter Roberson
on 1 Aug 2021
I do not understand how this could explain the error message about trying to mix sparse and single in a * operation ?
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!