I asked someone how can i reconstruct a signal from the magnitude and the phase of its fft. He gave me the following to do so: >>sub1=wavread(filename) >> magnSub1=abs(fft(sub1)); >> phaseSub1=angle(fft(sub1)); >> sub1_L=magnSub1.*exp(i*phaseSub1); >> sub1_L=ifft(sub1_L); >> q=(abs(sub1_L).*cos(angle(sub1_L)));
When i do this and listen to the reconstructed signal, it sounds exactly like the original, however the values of the recontructed signal's vector are very differrent from the values of the original signal's vector.
How can i reconstruct the signal exactly with its exact values?