How to plot power spectrum density (db/hz) as a function of time ?

4 views (last 30 days)
I want to plot power spectral density F(time) of my signal. I can plot a spectogram but need help how to just plot the power spectral density as a function of time?

Answers (1)

Sai Charan Sampara
Sai Charan Sampara on 30 Jun 2022
Power spectral density is a function of frequency. It gives the power distribution of a signal as a function of its frequency. The spectrogram contains the frequency components of the signal. The square of the absolute values of frequency components (spectrum values) gives power spectral density. Power is energy per unit time. So the power spectral density is only a function of frequency and does not have any relation to time.

Products

Community Treasure Hunt

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

Start Hunting!