中国矿业大学吧 关注:490,114贴子:22,913,825
  • 0回复贴,共1

群里有没有会MATLAB的,帮我看一下我这个程序哪里出错了,感激!

只看楼主收藏回复

clear
t=0:0.01:2*pi;
z=0.38961*((cos(t)+sin(t)*i)-0.131134/(cos(t)+sin(t)*i)-(0.06094*i)/((cos(t)+sin(t)*i)^2)-0.10324/((cos(t)+sin(t)*i)^3)+(0.0425*i)/((cos(t)+sin(t)*i)^4));
r=abs(z);
bdelta=angle(z);
subplot(2,1,1)
plot(z)
title(*直角坐标图*);
subplot(2,1,2)
polar(delta,r)
title(*极坐标图*)
显示的是第二步Error: Missing variable or function.


IP属地:江苏1楼2014-10-18 09:52回复