subplot(211), plot(time,arus), grid on, xlabel('time [seconds]'), ylabel('Ia(t),[Amp]')
subplot(212), plot(time,RPM), grid on, xlabel('time [seconds]'), ylabel('w(t),[RPM]')