%% Inverse Transform of Vector
% The Fourier transform and its inverse convert between data sampled in time and space and data sampled in frequency.
% Create a vector and compute its Fourier transform.

X = [1 2 3 4 5];
Y = fft(X)

%
% Compute the inverse transform of Y, which is the same as the original vector X.

ifft(Y)

% Copyright 2012 The MathWorks, Inc.