![]() |
#2
zhangenter2007-01-07 17:07
|
请问以下代码,有什么结果?我在MatLab6.5上运行出了错,不知为什么?
m=10;
g=9.8;
for? μ=0:0.1:1;
x=0:0.5:90;
x1=x*pi/180;
f=m*g*μ./(cos(x1)+μ*sin(x1));
plot(x,f)
hold on?
f1=min(f)
x2=find(f=f1)-1
end
axis?([0,90,0,100])