System Simulation Techniques with MATLAB and Simulink