subplot(511), plot(time,beban), grid on, xlabel('time [sec]'), ylabel('B')
subplot(512), plot(time,tegangan), grid on, xlabel('time [sec]'), ylabel('Ea')
subplot(513), plot(time,omega), grid on, xlabel('time [sec]'), ylabel('RPM')
subplot(514), plot(time,arus), grid on,  xlabel('time [sec]'), ylabel('Ia(t) [Ampere]')
subplot(515), plot(time,error), grid on,  xlabel('time [sec]'), ylabel('ERROR [V]')


