Undefined function 'findpeaks' for input arguments of type 'double'.

44 ビュー (過去 30 日間)
IITH
IITH 2013 年 12 月 13 日
回答済み: George 2018 年 6 月 4 日
hi, I am getting this error please help me go get resolve
Undefined function 'findpeaks' for input arguments of type 'double'.
Error in SVDCalculation_25062013 (line 21)
[pks1,locs1]=findpeaks((crrsvd(:,1)-crrsvd(:,2)),'minpeakdistance',20);

回答 (2 件)

Jos (10584)
Jos (10584) 2013 年 12 月 13 日
findpeaks is part of the signal processing toolbox in 2013b. Do you have that installed?
  1 件のコメント
IITH
IITH 2013 年 12 月 13 日
sir actually i have installed 2012 version

サインインしてコメントする。


George
George 2018 年 6 月 4 日
I had this same problem and found that I had a function called findpeaks in my MATLAB folder, so I guess Matlab looked at that and not the 'proper' findpeaks. I renamed the function in my MATLAB folder and now it works.

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by