Spectral Analysis:
https://www.mathworks.com/help/dsp/ug/spectral-analysis.html
Estimate the Power Spectrum in MATLAB:
https://www.mathworks.com/help/dsp/ug/estimate-the-power-spectrum-in-matlab.html
Estimate the Power Spectrum in Simulink:
https://www.mathworks.com/help/dsp/ug/estimate-the-power-spectrum-in-simulink.html