Filter löschen
Filter löschen

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

32 Ansichten (letzte 30 Tage)
IITH
IITH am 13 Dez. 2013
Beantwortet: George am 4 Jun. 2018
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);

Antworten (2)

Jos (10584)
Jos (10584) am 13 Dez. 2013
findpeaks is part of the signal processing toolbox in 2013b. Do you have that installed?

George
George am 4 Jun. 2018
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.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by