IFFT operation on the vector

1 view (last 30 days)
Michael Adelman
Michael Adelman on 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?

Accepted Answer

Wayne King
Wayne King on 21 Feb 2013
Edited: Wayne King on 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))

More Answers (1)

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

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!