以下为程式无error
clear all
d=3948;
c=1.27;
%b=-1.864;
sh=3.083;
sv=-856.34;
%e=-0.3978;
for a=-20:2:20
ay=a+sh;
for ca=-15:5:15
Ky=-9512.98-47.56*abs(ca);
b=Ky/5103.96;
e=-0.4496*(1-(0.115-6.953*ca));
end
fy=d*sin(c*atan(b*(ay)-e*(b*(ay)-atan(b*(ay)))))+sv;
plot(a,fy);
hold on;
end
%
title('cornering force')
xlabel('slip angle(*deg)')
ylabel('cornering effort(kN)')
grid on
执行后没有线
https://i.imgur.com/NjwOwyq.jpg
请教一下各位大大这是什么原因
是循环错误或是其他地方错了
谢谢各位前辈