%function to test the reconstruction of the signal
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function [y] = IO_test(x,N)

%perform the actions
X = fft(x);
y = ifft(X)';y = y(1,N+1:end)';