MATLAB: How to detect a peak from a graph

filterfindplot

A part of my work need me to peak the peak from a graph of cyclic nature with time vs velocity. I tried to use treshold and and others options. to locate the maximum peak but could also include the local maximums . Is there anyway of picking the maximum value? such as sliding window ?

Best Answer

Use findpeaks function
Related Question