Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-12-29
年龄: 43
帖子: 2
声望力: 0 ![]() |
![]()
各位大侠,小妹刚学matlab,在编程中遇到一个难题就是不知如何求出一个坐标图的显著峰值。
程序如下: c = plot(angle, st);%angle为360×1的数组,st为angle所对应的360×1的数组。做出的图像见附件。需要求出该图的显著峰值数。 x = angle.'; y = st.'; [p, q] = polyder(y, x); y == 0; x = length(angle); %小妹想用函数求导的方法求,当其导数为0时,求出x值的个数,可是程序显示 the operation or expression '==' has no evident effect Possible inappropriate use of == operator. Use = if assignment is intended 就无法进行下去了。 请教各位大侠,小妹的方法可行吗,如果可行,则怎么解决将导数取值为0的问题?如果不行,有没有更好的方法求显著峰值数的问题? 万分感谢!! |
![]() |
![]() |
![]() |
|
|
![]() |
||||
主题 | 主题作者 | 版面 | 回复 | 最后发表 |
[MATLAB图像处理] 关于hough变换直线检测的问题 | kingaye | MATLAB论坛 | 1 | 2009-04-10 10:10 |
Studying the World's Most Complex Dynamic Systems | TechnicalArticles | MATLAB技术文章 | 0 | 2008-08-29 00:40 |
[求助]在SIMULINK里,如何将inegrator上方的箭头移到下面去 | yijianmei | MATLAB论坛 | 1 | 2008-07-24 10:15 |
仪表信息图像采集处理研究 | liuna2008 | MATLAB论坛 | 0 | 2008-04-12 18:53 |
Simplify Instrument Communication: Using Instrument Drivers with the Instrument Contr | TechnicalArticles | MATLAB技术文章 | 0 | 2008-01-06 16:32 |