[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Any FFT expert around?
From: |
peter |
Subject: |
Re: Any FFT expert around? |
Date: |
Wed, 12 Feb 2014 14:37:59 +0100 (CET) |
User-agent: |
SquirrelMail/1.4.8-21.el5.centos |
> Hi Oxy,
>
> The frequency vector for FFT should go from DC as bin 1 to slightly less
> than Fs in the last bin (Fs - Fs/N where N is the number of FFT points).
>
> If you want to plot this as a range from -Fs/2 to +Fs/2 (minus the same
> fraction) you can do this, but in this case you should use the fftshift
> function as follows:
>
> freqsig = fftshift(fft(tdsig));
>
> Also, make sure you are intending to plot the REAL part of the FFT only (I
> believe that is the default behavior for how you are executing the plot).
>
More blatant promotion: LTFAT has the "plotfft" and "plotfftreal"
functions for visualing coefficients coming from fft operations:
http://ltfat.sourceforge.net/doc/fourier/plotfft.php
http://ltfat.sourceforge.net/doc/fourier/plotfftreal.php
Cheers,
Peter.
- Any FFT expert around?, oxy, 2014/02/12
- Re: Any FFT expert around?, Brian Kaczynski, 2014/02/12
- Re: Any FFT expert around?, oxy, 2014/02/12
- Re: Any FFT expert around?, Brian Kaczynski, 2014/02/12
- Re: Any FFT expert around?, oxy, 2014/02/19
- Re: Any FFT expert around?, oxy, 2014/02/19
- Re: Any FFT expert around?, Brian Kaczynski, 2014/02/19
- Re: Any FFT expert around?, oxy, 2014/02/20
- Re: Any FFT expert around?,
peter <=