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) 每次练习使用一个新的函数都提示错误。 我在基础学习板块求助,有好心人告诉我他们执行都是好的,说可能是我的matlab有问题。 我实在是不明白为什么,希望高人指点,不胜感激! 我的cpu是amd的 |
![]() |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
[求助]小波去噪后的波形的导出 | felixgong | MATLAB论坛 | 1 | 2008-07-03 22:11 |
【求助】图象特征区域提取 | erkun | MATLAB论坛 | 3 | 2008-04-23 15:57 |
[求助]请教用sovle函数求解带参数的非线性方程问题 | sohot | MATLAB论坛 | 0 | 2008-04-01 23:17 |