Undefined function 'findpeaks' for input arguments of type 'double'.
Afficher commentaires plus anciens
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);
Réponses (2)
Jos (10584)
le 13 Déc 2013
3 votes
findpeaks is part of the signal processing toolbox in 2013b. Do you have that installed?
1 commentaire
IITH
le 13 Déc 2013
George
le 4 Juin 2018
0 votes
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.
Catégories
En savoir plus sur Time-Frequency Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!