IFFT operation on the vector

1 visualizzazione (ultimi 30 giorni)
Michael Adelman
Michael Adelman il 21 Feb 2013
Hello,
I want to make an ifft operation on some vector. according to help of ifft, it do not require any multipcation constant. does this statement true all the time?

Risposta accettata

Wayne King
Wayne King il 21 Feb 2013
Modificato: Wayne King il 21 Feb 2013
As long as you do not zero pad, you should get back the original vector without using any scaling factor.
x = randn(10,1);
xdft = fft(x);
y = ifft(xdft);
max(abs(x-y))

Più risposte (1)

Michael Adelman
Michael Adelman il 21 Feb 2013
and if I zero pad, what constant I need to multiply?
  1 Commento
Wayne King
Wayne King il 21 Feb 2013
Nothing, it will just add zeros at the end.
x = randn(10,1);
xdft = fft(x,16);
ifft(xdft)

Accedi per commentare.

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by