Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Calculating power spectral density

Subject: Calculating power spectral density

From: Suresh Jeevanandam

Date: 6 Nov, 2008 14:37:43

Message: 1 of 3

Hi,
 I am looking for the correct way to calculate the power spectral
density of a given signal.

 Lets say x is the given signal, I am creating the power spectral
density by:

X = fft(x)/Npt;
psd = abs(X)^2;

 Is this correct. I googled for this but I could not find any
implementation details.

Thanks.

Regards,
Suresh

Subject: Calculating power spectral density

From: Rune Allnor

Date: 6 Nov, 2008 15:06:29

Message: 2 of 3

On 6 Nov, 15:37, Suresh Jeevanandam <jm.sur...@gmail.com> wrote:
> Hi,
> =A0I am looking for the correct way to calculate the power spectral
> density of a given signal.
>
> =A0Lets say x is the given signal, I am creating the power spectral
> density by:
>
> X =3D fft(x)/Npt;
> psd =3D abs(X)^2;
>
> =A0Is this correct.

No.

> I googled for this but I could not find any
> implementation details.

Try to read a textbook on statistical DSP.

Rune

Subject: Calculating power spectral density

From: Greg Heath

Date: 6 Nov, 2008 16:59:41

Message: 3 of 3

On Nov 6, 9:37=A0am, Suresh Jeevanandam <jm.sur...@gmail.com> wrote:
> Hi,
> =A0I am looking for the correct way to calculate the power spectral
> density of a given signal.
>
> =A0Lets say x is the given signal, I am creating the power spectral
> density by:
>
> X =3D fft(x)/Npt;
> psd =3D abs(X)^2;
>
> =A0Is this correct. I googled for this but I could not find any
> implementation details.

Go to Google groups. Search on

greg-heath power spectrum scaling

you will get ~22 hits. First look at the post titled Power Spectrum
Scaling

http://groups.google.com/group/comp.soft-sys.matlab/msg/2222327db2ea7f51?hl=
=3Den

Hope this helps.

Greg

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us