Borrar filtros
Borrar filtros

IFFT operation on the vector

1 visualización (últimos 30 días)
Michael Adelman
Michael Adelman el 21 de Feb. de 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?

Respuesta aceptada

Wayne King
Wayne King el 21 de Feb. de 2013
Editada: Wayne King el 21 de Feb. de 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))

Más respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by