MATLAB Matlab: How to get the PSD of a signal?

AI Thread Summary
To plot the Power Spectral Density (PSD) of a signal, the discussion highlights the use of the FFT function in MATLAB. A user inquires about alternative methods, specifically seeking a command that outputs the PSD directly without windowing, similar to the "spectrum" command. Another participant mentions the 'dspdata.psd' function available in MATLAB 7.8 R2009a, which is part of the Signal Processing Toolbox, but notes that it still requires using FFT first. The conversation emphasizes the need for a more straightforward command for PSD calculation without additional processing steps.
janor
Messages
3
Reaction score
0
I'm trying to plot the PSD of a signal, I did it using the fft function but I was wondering if there is another direct method?
 
Physics news on Phys.org
Which version of MATLAB you are using? i am using MATLAB 7.8 R2009a. In my version I have a function called 'dspdata.psd' in signal processing toolbox to find psd of input data.
 
yes but I have to use fft first, I meant a command like "spectrum" but without windowing, just takes the signal and outputs the psd.
 

Similar threads

Back
Top