Implement ode15s function in a discrete model
Show older comments
How to implement the ode15s function in a discretized model?
In the continuous model it was quieter, as I found several examples. Now in the discretized model I can not find anything to help me. I emphasize that I am learning to program, so all help and the way that is explained to a lay person will be appreciated.
I can implement and compile by placing the template and specifying the step size. But I would like to apply this numerical solution to the model, just as it was done in the continuum. Any idea how to comoralize this process?
It follows two codes of the discretized model, both get the same results, except that the code_discret_1 is in state space format and the other is in systems format.
Accepted Answer
More Answers (0)
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!