MATLAB: Frequency spectrum – Curve at the maximum values

curve fittingfrequency

Hello,
How can I generate a curve at the maximum values ​​in Matlab? (See example red curve)
Many Thanks!
Picture1.png

Best Answer

Use movmax.
Related Question