%takes the inverse FFT or DCT

function [y] = itransform(Y);
%ITRANSFORM WITH FFT
%y = ifft(Y);
%y = real(y);

%ITRANSFORM WITH DCT
Y = real(Y);
y = idct(Y);