In a Simulink model how to sort fftshift spectra ?

2 次查看(过去 30 天)
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.

回答(1 个)

Saksham
Saksham 2023-8-24
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

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by