Matlab: How to get the PSD of a signal?

Status
Not open for further replies.

janor

Newbie level 3
Joined
May 19, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,300
I'm trying to plot the PSD of a signal, I did it using the fft function but I was wondering if there is a shortcut?
 

here's the easiest method.

periodogram(x, [] ,'onesided',512,fs);
fs is the sampling rate.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…