Trouble using findpeaks : Too many output arguments.
Show older comments
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.
Accepted Answer
More Answers (1)
Image Analyst
on 1 Dec 2014
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
1 Comment
Pragya Srivastava
on 1 Dec 2014
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!