Re: The points of FFT transform




"jia" <jia.qinghua@xxxxxxxxx> wrote in message
news:1149068748.138082.66680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi, here

A basic problem of DSP make me confused. When we want to the spectrum
character of a signal sequence, we can use the function "fft( )" of
Matlab.

fft(X,n) returns the n-point DFT.
1) If the length of X is less than n, X is padded with trailing zeros
to length n.
2) If the length of X is greater than n, the sequence X is truncated.

If we want to do a DFT of a sequence of discrete signal X, with the
length of N.

What is the proper points for DFT? just "n=N" is enought, or the
bigger, the better?

If n>N, then padded zeros, it is equal to interpolation. While, if "n"
is infinite, it maybe equal to the fourier transform of continuous
signal. So, I am confused.

What is the proper points for DFT?

The simplest thing to do is to use fft(X).

Anything you do is "proper" if it meets your intent.

It appears you understand what happens if n>N. Unless you need this, it's
extra computation that provides no additional information - just more
points.

Fred


.



Relevant Pages

  • The points of FFT transform
    ... If the length of X is less than n, X is padded with trailing zeros ... If the length of X is greater than n, the sequence X is truncated. ... If we want to do a DFT of a sequence of discrete signal X, ... What is the proper points for DFT? ...
    (comp.dsp)
  • Re: DSP Newbie: negative frequencies in a RHP only transform of real data
    ... The DFT transforms a complex sequence to a complex sequence. ... considers whether all poles are in the left half-plane because poles ... I took the magnitude and phase angle of the complex FFT data. ...
    (comp.dsp)
  • Re: The last ancestor of all life
    ... to be folded in the proper way after translation. ... determined solely by the the sequence of the protein. ... Many proteins require other proteins to fold them properly. ... arrangement of the codes in the underlying DNA. ...
    (talk.origins)
  • Re: Phase of FFT compared to phase of Sinusoid
    ... xis a sequence of numbers. ... special case is very closely related to the DFT, but it is not the DFT, it ... eliminated the inherent periodicity. ...
    (comp.dsp)
  • Re: DSP Newbie: negative frequencies in a RHP only transform of real data
    ... The DFT transforms a complex sequence to a complex sequence. ... considers whether all poles are in the left half-plane because poles ... I took the magnitude and phase angle of the complex FFT data. ...
    (comp.dsp)