mathlab required engineering question
% HW4_2.m file for drawing results from file: load current4 Ia4;load speed4 n4;load torque4 T4;load position4 x4; Ia=Ia4';n=n4';T=T4';x=x4'; t=Ia(:,1);Ia=Ia(:,2);n=n(:,2);Tem=T(:,2);TL=T(:,3);x=x(:,2); CLF figure(1), subplot(2,1,1), plot(t,Ia,'k'),xlabel('time [s]'), ylabel('current Ia [A]'),grid subplot(2,1,2),plot(t,n,'k'),xlabel('time [s]'), ylabel('speed n [rpm]'),grid, figure(2), subplot(2,1,1),plot(t,Tem,'k',t,TL,':'),xlabel('time [s]'), ylabel('torque T [rpm]'),grid,gtext('Tem'),gtext('TL'), subplot(2,1,2),plot(t,x,'k'),xlabel('time [s]'), ylabel('position [m]'),grid,