How to use Power Spectral density block in Simulink?

조회 수: 109 (최근 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 CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by