polar函数出错求救!!!
运行如下代码:t = 0:.01:2*pi;
polar(t,sin(2*t).*cos(2*t),'--r')
提示出错信息:
>> t = 0:.01:2*pi;
polar(t,sin(2*t).*cos(2*t),'--r')(回车)
??? Attempt to execute SCRIPT polar as a function.
请高人帮忙解释下原因,多谢了!::smile:: 我在MATLAB7.1上运行上述语句,没有错误。 我在6.5版本上运行下,开始的时候也是对的,图形也可以出来,但是后来就报错,很是纳闷::mad::
页:
[1]