绘图matlab,画出来的不是曲线>> UN=220;PN=0.275;IaN=2.144;Nn=12100;Ra=6.952;Rf=8.24;k=0.01;CePhiN=(UN-(Ra+Rf)*IaN)/Nn;Ce=CePhiN/k/IaN;Ia=0:IaN;n=UN./(Ce*k.*Ia)-(Ra+Rf)/(Ce*k);start_p=1;Ia_p=Ia(start_p:length(Ia));n_p=n(start_p:length(n));CTPh
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/29 01:59:45
绘图matlab,画出来的不是曲线>> UN=220;PN=0.275;IaN=2.144;Nn=12100;Ra=6.952;Rf=8.24;k=0.01;CePhiN=(UN-(Ra+Rf)*IaN)/Nn;Ce=CePhiN/k/IaN;Ia=0:IaN;n=UN./(Ce*k.*Ia)-(Ra+Rf)/(Ce*k);start_p=1;Ia_p=Ia(start_p:length(Ia));n_p=n(start_p:length(n));CTPh
绘图matlab,画出来的不是曲线
>> UN=220;PN=0.275;IaN=2.144;Nn=12100;
Ra=6.952;
Rf=8.24;
k=0.01;
CePhiN=(UN-(Ra+Rf)*IaN)/Nn;
Ce=CePhiN/k/IaN;
Ia=0:IaN;
n=UN./(Ce*k.*Ia)-(Ra+Rf)/(Ce*k);
start_p=1;
Ia_p=Ia(start_p:length(Ia));
n_p=n(start_p:length(n));
CTPhiN=9.55*CePhiN;
CT=CTPhiN/k/IaN;
TN=CT*k*Ia.*Ia;
TNP=TN*10000;
plot(Ia_p,n_p,'b.-',Ia,TNP,'r.-');
xlabel('电枢电流{\itI}_a/A')
ylabel('转速{\itn}/(r/min),电磁转矩{\itT}/(N.m)')
text(40,5500,'转速\itn');
text(15,1000,'电磁转矩{\itT}(X10000)');
set(gca,'xlim',[0,3]);
set(gca,'ylim',[0,40000]);
我用这个程序,画出来的曲线,怎么它取的点这么少,导致变成了折线、
绘图matlab,画出来的不是曲线>> UN=220;PN=0.275;IaN=2.144;Nn=12100;Ra=6.952;Rf=8.24;k=0.01;CePhiN=(UN-(Ra+Rf)*IaN)/Nn;Ce=CePhiN/k/IaN;Ia=0:IaN;n=UN./(Ce*k.*Ia)-(Ra+Rf)/(Ce*k);start_p=1;Ia_p=Ia(start_p:length(Ia));n_p=n(start_p:length(n));CTPh
UN=220;PN=0.275;IaN=2.144;Nn=12100;
Ra=6.952;
Rf=8.24;
k=0.01;
CePhiN=(UN-(Ra+Rf)*IaN)/Nn;
Ce=CePhiN/k/IaN;
Ia=0:0.01:IaN;
n=UN./(Ce*k.*Ia)-(Ra+Rf)/(Ce*k);
start_p=1;
Ia_p=Ia(start_p:length(Ia));
n_p=n(start_p:length(n));
CTPhiN=9.55*CePhiN;
CT=CTPhiN/k/IaN;
TN=CT*k*Ia.*Ia;
TNP=TN*10000;
plot(Ia_p,n_p,'b.-',Ia,TNP,'r.-');
xlabel('电枢电流{\itI}_a/A')
ylabel('转速{\itn}/(r/min),电磁转矩{\itT}/(N.m)')
text(40,5500,'转速\itn');
text(15,1000,'电磁转矩{\itT}(X10000)');
set(gca,'xlim',[0,3]);
set(gca,'ylim',[0,40000]);
步长太小的缘故