|
On 31 Okt, 00:46, "Judy " <sauwen...@gmail.com> wrote:
> Hi all,
>
> I've got two questions for you:
> 1. =A0Using the fft(x) function, if you don't indicate the N-point, what =
will MATLAB assume the N point is?
I was going to reply that "This is mentioned in the FFT documentation"
but - surprisingly - it isn't (R2006a).
When you call FFT with an N-length vector x as argument,
X =3D fft(x);
the function returns the N-point FFT.
> 2. =A0Using the window(@wname, N), is it possible to shift it up to the p=
oints of interest you are choosing? =A0It looks like by default, it starts =
with 0 and ends with N. =A0I would just like to window a portion of my fft.
You window the argument to the FFT. If you want
to compute the N-point DFT of a small section of
signal, you do something like
w =3D ... % some N-point window
X =3D fft(x(100:100+N).*w);
Rune
|