Digital simulator of continuous systems implemented in MATLAB.
There are implemented simulator for both single and multiple equations systems. The list of implemented methods is:
- Euler
- Trapezoidal
- Adaptive trapezoidal
- Adams
- Runge Kutta 2 order
- Runge Kutta 4 order
- ode45
To use it you must create a new folder with the model, inputs, and outputs and the system will compute the solution for you. You must specify the folder in the simulator_multi.m and the method to solve the equations. There are two additional files to create the one to one comparison between models and to solve the equations with all the methods.
- High precision ode45:
- Low precision ode45:
- Euler vs ode45: