subplot(311),plot(time,tegangan),ylabel('Tegangan Jangkar [Volt]'), grid on
subplot(312),plot(time,arus), ylabel('Arus Jangkar (Amp)'), grid on
subplot(313),plot(time,rpm),ylabel('Kecepatan (RPM)'), xlabel('waktu (detik)'), grid on