Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Reconstructing a signal from phase and magnitude of its fft
Replies: 1   Last Post: Apr 10, 2007 10:58 AM

 Messages: [ Previous | Next ]
 Gehan Mustafa Kamel Posts: 13 Registered: 8/2/06
Reconstructing a signal from phase and magnitude of its fft
Posted: Apr 10, 2007 8:09 AM

AA,

Hello all,

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:
>> 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?

Thanks a lot

Date Subject Author
4/10/07 Gehan Mustafa Kamel
4/10/07 David Robbins