MATLAB: Hi, i would like make script how use two threshold Lower & upper to filtre the peaks of a periodic signal in frequency domain. Thx

announcementno questionthreshold

noise

Best Answer

Use the findpeaks function once each with a different threshold in each funciton call (the 'MinPeakValue' name-value pair argument), and then use the setdiff function on the second output, locs, to find the peaks between the lower and upper thresholds.
Related Question