Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.14 KB

Digital simulator

Digital simulator of continuous systems implemented in MATLAB.

Description

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

Manual

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.

Some results of the simulator of a two link robot

  • High precision ode45:

high precision ode45

  • Low precision ode45:

low precision ode45

  • Euler vs ode45:

ode45 vs euler