subplot(311), plot(time,B), grid on, xlabel('time [sec]'), ylabel('Beban')
subplot(312), plot(time,omega), grid on, xlabel('time [sec]'), ylabel('RPM')
subplot(313), plot(time,arus), grid on,  xlabel('time [sec]'), ylabel('Ia(t) [Ampere]')
