How can I recover original complex signal after fft?

377 Views Asked by At

There is a simple code in below that I prepared for understandable a question. My purpose is recover original complex signal after FFT process in Matlab.

As you understand from code, I created 1x128 complex vector. After I implement IFFT process this code. Then again I implemented FFT process for recover original complex code.

Code:

a1 = linspace(0.1,0.6,128); 
a2 = linspace(0.2,0.6,128); 
cn = complex (a1,a2); ifcn = ifft(cn,128,2); 
fcn = fft(ifcn,128,2); 
%difcn = fcn - cn;%Checking difference between original and after fft 

There are few questions in my mind.

-Is ıt possible recover original complex signal after IFFT and FFT, If it is possible please could you describe me?

-In my project code normally has more deatils also I will implement after IFFT AWGN noise to signal. If this code works properly I am thinking use the this code.

Thanks in Advance

Pales

0

There are 0 best solutions below