Could anyone help me to understand the peaks?

I have the fft of the signal as shown in the figure attached
%Angle calculation
[~, indx] = max(abs(X));
Phase = angle(X(indx));
Unbenannt.PNG
How can get the information of second highest peak? when I use max it gives only the highest peak of all, but i want the info about the second peak and third peak. How can i get them?

This question is closed.

Tags

Asked:

on 25 Mar 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!