In a Simulink model how to sort fftshift spectra ?

1 view (last 30 days)
In a Simulink model, how to sort fftshift output amplitudes of positive frequencies and select highest peak amplitudes and display on Spectrum analyzer block please? Any such example model please?
Thank you.

Answers (1)

Saksham
Saksham on 24 Aug 2023
Hi Swamy,
I understand that you wish to know how to sort, find maximum element and display on Spectrum Analyzer in Simulink.
To sort in Simulink, you can use ‘sort’ block. Please refer to the following link to its documentation:
To find maximum value, ‘minmax’ block can be helpful. Below is the link to its documentation:
Please find the documentation of ‘Spectrum Analyzer’ using the following link:
I hope the above shared resources will be helpful to you.
Sincerely,
Saksham

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!