How to use Power Spectral density block in Simulink?

97 ビュー (過去 30 日間)
Vineeth Ravulapalli
Vineeth Ravulapalli 2020 年 4 月 22 日
回答済み: Priyanshu Mishra 2020 年 4 月 28 日
Hello there,
I would like to plot a PSD of a signal that's generated in Simulink, and for this purpose, I thought of using the "Power Spectral Density " block that's avaible in the "Additional Sinks" of the Simulink Library. But, I am unable to understand the definitions of the block paramters. My Signal has a lenght of 1000001 data points with a time resolution (Δt) of 7.32e-07. So, kindly help me understand what these parameters mean.
Thanks and regards
Vineeth R

回答 (1 件)

Priyanshu Mishra
Priyanshu Mishra 2020 年 4 月 28 日
Hi Vineeth,
Power Spectral Density block displays the frequency content of the buffer in graph window. The block calculates the power spectral analysis using ffts.
  1. It stores buffer of output and input points then plots the power spectral density.
  2. You may define number of points to be used for calculating fft.
  3. You may define how often you want to plot the fft
  4. Fourth parameter is the sampling time.
A similar question is also asked in the community earlier. You may refer the following link for further explanation.

カテゴリ

Help Center および File ExchangeSpectral Measurements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by