subplot(511), plot(time,gangguan), grid on, ylabel('gangguan beban')
subplot(512), plot(time,Ea), grid on, ylabel('Tegangan Jangkar')
subplot(513), plot(time,RPM), grid on, xlabel('time'), ylabel('RPM')
subplot(514), plot(time,phi), grid on, xlabel('time'), ylabel('PHI')
subplot(515), plot(time,alpha), grid on, xlabel('time'), ylabel('alpha')