Basics of Matlab & Simulink

Tibor Kasas 2 minute read

Matlab is a scientific tool that is designed for scientists and engineers. It is a programming platform with which you can analyze data, develop algorithms and create models and applications.
Matlab is mostly used in industry and education for numerous fields such as signal processing and communications, control systems and various computation.
Here is an example of how to get a transfer function matrix. In this example you can also see how to check controllability and observability. There is also the procedure of calculating the frequency and the period of the oscillations.


Simulink is a great tool for automatic control and digital signal processing, as well as for model-based design. This is because of its tight integration with Matlab. Simulink is a graphical programming environment for modeling, simulating, and analyzing multidomain dynamical systems. The basis of the Simulink interface is a graphical block diagramming tool with a customizable set of block libraries.

This is the Simulink library browser

In this simulation scheme you can see a simple nonlinear system with a subsystem called “Nonlinear model”.

Simple nonlinear system

And here, in the same example, you can see the simulation scheme for recording the response of a linear and nonlinear system model.

Expanded system

The nonlinear model subsystem that is the centre piece of this system is shown in detail view in the following image.

Detail view of the nonlinear model