Effacer les filtres
Effacer les filtres

IFFT operation on the vector

1 vue (au cours des 30 derniers jours)
Michael Adelman
Michael Adelman le 21 Fév 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?

Réponse acceptée

Wayne King
Wayne King le 21 Fév 2013
Modifié(e) : Wayne King le 21 Fév 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))

Plus de réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by