How can I use the 'opposite' of findpeaks input argument?
8 views (last 30 days)
Show older comments
Matterazzi
on 24 May 2017
Is there a way I can use the opposite of 'MinPeakHeight' to cut out peaks that a greater than 10 in this example?
findpeaks(Cap,'MinPeakHeight',0,'MinPeakDistance',20,...
'Threshold',0, 'MinPeakProminence',1,'Annotate','extents')
Thanks in advance.
0 Comments
Accepted Answer
Michelangelo Ricciulli
on 24 May 2017
Hello, It seems there is no "built-in" way to do this. But you could follow the simple example HERE if you really need to do it
2 Comments
More Answers (1)
Matlaber
on 14 Jan 2019
why cannot we use
findpeaks(select,Fs,'MinPeakHeight',10)
MinPeakHeight is control the Y-axis level, above 10
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!