Professional Documents
Culture Documents
LAB 6 ระบบจำลองทางคณิตศาตร์ด้วย Curve Fitting
LAB 6 ระบบจำลองทางคณิตศาตร์ด้วย Curve Fitting
บันทึกผลการสมการ
สมการแรงบิด ณ ความเร็ วรอบใดๆ
สมการอัตราการไหลของอากาศ ณ ความเร็ วรอบใดๆ
%%Second yaxis
axes(Ax2);hold on
l2=ylabel('Power(kW)')
h2=plot(wr*30/pi, Pout,'Linewidth',2);
axis([0 3000 0 0.18])
set(h2,'color',AxColors{2})
drawnow
%%Third yaxis
axes(Ax3);hold on
l3=ylabel('Air consumption (l/s)')
h3=plot(wr*30/pi,fl,'Linewidth',2);
axis([0 3000 0 9])
set(h3,'color',AxColors{3})
drawnow
%%Fix some visuals
set([Ax1 Ax2 Ax3],'xlim',[xmin xmax])
set([Ax2 Ax3],'XColor','none');
set([Ax1 Ax2 Ax3],'Color','none');
XTicks=Ax1.XTick;
XTicks(XTicks>0.95*xmax)=[];
drawnow
YMinAx1=get(Ax1,'YLim');
Ax1.XRuler.Axle.VertexData=single([0 0.9*xmax;YMinAx1(1) YMinAx1(1);0
0]);
drawnow
title('Air motor(LZB14-L-A029-11)')