Using Matlab, Simulink and Control Toolbox. A practical approach