IFFT operation on the vector

1 Ansicht (letzte 30 Tage)
Michael Adelman
Michael Adelman am 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?

Akzeptierte Antwort

Wayne King
Wayne King am 21 Feb. 2013
Bearbeitet: Wayne King am 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))

Weitere Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by