Trouble using findpeaks : Too many output arguments.
이전 댓글 표시
Hello, I am using [pkt,lct,wt,ct]=findpeaks(data) to find the peakheight, location, width and prominence of the peaks in my data. This gives me error message 'Too many output arguments'.
However, When I am using [pkt, lct]=findpeaks(data), there is no error. Please suggest the solution. Please help.
채택된 답변
추가 답변 (1개)
Image Analyst
2014년 12월 1일
What version are you using? Is it possible that the 3rd and 4th outputs were added in a later version than you have? What does the help documentation say - does it list all 4 output arguments? What does this say
which -all findpeaks
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!