%% Padded Inverse Transform of Matrix
% The ifft function allows you to control the size of the transform.
% Create a random 3-by-5 matrix and compute the 8-point inverse Fourier transform of each row. Each row of the result has length 8.

Y = rand(3,5);
n = 8;
X = ifft(Y,n,2);
size(X)

% Copyright 2012 The MathWorks, Inc.