MATLAB: How to use the ‘opposite’ of findpeaks input argument

findpeaksminpeakdistance

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.

Best Answer

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
Related Question