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

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일

3 개 추천

findpeaks is part of the signal processing toolbox in 2013b. Do you have that installed?
George
George 2018년 6월 4일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 Time-Frequency Analysis에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2013년 12월 13일

답변:

2018년 6월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by