From: Jos on
Hi,

I have a signal which represents the angle of attack of something over time (with a sampling time of 0.01s). I want to transform this to a spectral density function.
So how do i go from the time domain to the frequency domain? (btw, I do not have the signal processing toolbox or whatsoever, so only standard matlab functions are possible)

I tried using the fft function but couldn't figure out how to let it do exactly what i want.

Thx
From: Frank on
On Jan 12, 9:22 am, "Jos " <jappedane...(a)mathworks.com> wrote:
> Hi,
>
> I have a signal which represents the angle of attack of something over time (with a sampling time of 0.01s). I want to transform this to a spectral density function.
> So how do i go from the time domain to the frequency domain? (btw, I do not have the signal processing toolbox or whatsoever, so only standard matlab functions are possible)
>
> I tried using the fft function but couldn't figure out how to let it do exactly what i want.
>
> Thx

fft does get you into the frequency domain. If you want the spectral
density function, it's abs(fft)^2.