Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-03-19
年龄: 45
帖子: 10
声望力: 18 ![]() |
![]()
按照书中的例题写了以下语句
theta=0:0.01:2*pi rho=sin(2*theta).*cos(2*theta) polar(theta,rho,'k') 可却不能通过 错误提示为: ??? Attempt to execute SCRIPT polar as a function. Error in ==> polar at 3 polar(theta,rho,'k') 还有下面的这个 x=linspace(0,2*pi,60) y=sin(x) z=cos(x) t=sin(x)./(cos(x)+eps) ct=cos(x)./(sin(x)+eps) subplot(2,2,1) plot(x,y) subplot(2,2,2) plot(x,z) subplot(2,2,3) plot(x,t) subplot(2,2,4) plot(x,ct) 错误提示为: ??? Attempt to execute SCRIPT subplot as a function. Error in ==> subplot at 6 subplot(2,2,1) 每次练习使用一个新的函数都提示错误,我实在是不明白为什么,希望高人指点,不胜感激! |
![]() |
![]() |
主题工具 | |
显示模式 | |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
[求助]请问这个是用什么函数画的啊? | mary82104 | MATLAB论坛 | 2 | 2008-04-10 09:14 |
[求助]如何将一个指针指向的数据放到一个数组中 | qqmoon | LabVIEW论坛 | 0 | 2008-03-18 18:20 |
【求助】给定以下条件,设计一巴特沃兹滤波器 | jackie0504 | MATLAB论坛 | 0 | 2007-07-15 22:57 |