subplot(411), plot(time,Ea), grid on, ylabel('Ea(t) [Volt]')
subplot(412), plot(time,beban), grid on, ylabel('Beban [N.m.sec/rad]')
subplot(413), plot(time,arus), grid on, ylabel('Ia(t) [Amp]')
subplot(414), plot(time,omega), grid on, ylabel('omega [RPM]'), xlabel('time [sec')