"Findpeaks" function doesn't work
7 次查看(过去 30 天)
显示 更早的评论
when running the following code using Matlab on my PC: " x=[1,2,3,2,1]; [val,place]=findpeaks(x) " I get this error: Undefined function 'findpeaks' for input arguments of type 'double'.
however, when running the exact same code in my office (different license, different computer) it works just fine. I have had this problem in the past, and re-installing Matlab seemed to solve it. Now I have the same problem and I don't think re-installing it would be a proper solution. Any solution?
采纳的回答
Jan
2017-5-1
findpeaks belongs to the signal processing toolbox. If you do not have a license for this toolbox, you cannot run this command.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!