DSPRelated.com
Forums

How to use IFFT to get the system impulse response?

Started by antenna404 January 11, 2008
On Jan 13, 3:52 am, "antenna404" <wanfa...@163.com> wrote:
> hi Kumar Vijay Mishra > I am sure that I have made my data Hermitian symmetric. > just like this: > 1-j*1,2-j*2,3-j*3,0,3+j*3,2+j*2,1+j*1. > but after doing IFFT,the output is still a complex sequence.
But your data is, in fact, not complex conjugate symmetric! The correct sequence will be: [0, 1-1i, 2-2i, 3-3i, 3+3i, 2+2i, 1+1i]. This is because the dc component is NOT included while considering the above-said symmetry of the sequence. Kumar Vijay Mishra.

&#3648;&#3617;&#3639;&#3656;&#3629; &#3623;&#3633;&#3609;&#3592;&#3633;&#3609;&#3607;&#3619;&#3660;&#3607;&#3637;&#3656; 14 &#3617;&#3585;&#3619;&#3634;&#3588;&#3617; &#3588;.&#3624;. 2008 19 &#3609;&#3634;&#3628;&#3636;&#3585;&#3634; 46 &#3609;&#3634;&#3607;&#3637; 55 &#3623;&#3636;&#3609;&#3634;&#3607;&#3637; UTC+7, Greg Berchin &#3648;&#3586;&#3637;&#3618;&#3609;&#3623;&#3656;&#3634;:
> On Jan 13, 5:52&nbsp;am, "antenna404" <wanfa...@163.com> wrote: > > > &nbsp;I am sure that I have made my data Hermitian symmetric. > > just like this: > > 1-j*1,2-j*2,3-j*3,0,3+j*3,2+j*2,1+j*1. > > but after doing IFFT,the output is still a complex sequence. > > Just as an experiment, try structuring your data set like > > "0, 3+j*3, 2+j*2, 1+j*1, 1-j*1, 2-j*2, 3-j*3", > > if your FFT size is odd, or > > "0, 3+j*3, 2+j*2, 1+j*1, 4, 1-j*1, 2-j*2, 3-j*3", > > if it is even, and run that through Matlab's IFFT. > > Greg
Hi Greg,

Could u explain why u add 0 and 4 to the complex hermitian conjugate when a number is even.
THanks.
On Tuesday, January 22, 2019 at 11:28:16 PM UTC-6, won...@gmail.com wrote:

> Could u explain why u add 0 and 4 to the complex hermitian conjugate when a number is even.
The reason to put *values* at DC and Fs/2 is because the DFT of a real sequence with an even number of elements is conjugate-symmetric about DC and Fs/2 -- they serve as "pivot points" for the symmetry. The reason that the values at DC and Fs/2 are *real* is that the only way a number can be its own complex conjugate is if it's real. The reason that the values are "0" and "4" has been lost to history -- this is, after all, an eleven year old thread. - Greg
On Wednesday, January 23, 2019 at 8:01:23 AM UTC-5, Greg Berchin wrote:
> On Tuesday, January 22, 2019 at 11:28:16 PM UTC-6, won...@gmail.com wrote: > > > Could u explain why u add 0 and 4 to the complex hermitian conjugate when a number is even. > > The reason to put *values* at DC and Fs/2 is because the DFT of a real sequence with an even number of elements is conjugate-symmetric about DC and Fs/2 -- they serve as "pivot points" for the symmetry. The reason that the values at DC and Fs/2 are *real* is that the only way a number can be its own complex conjugate is if it's real. The reason that the values are "0" and "4" has been lost to history -- this is, after all, an eleven year old thread. > > - Greg
wow an 11 year gap and the conversation picks right up where it left off :-) mark


&#3648;&#3617;&#3639;&#3656;&#3629; &#3623;&#3633;&#3609;&#3614;&#3640;&#3608;&#3607;&#3637;&#3656; 23 &#3617;&#3585;&#3619;&#3634;&#3588;&#3617; &#3588;.&#3624;. 2019 20 &#3609;&#3634;&#3628;&#3636;&#3585;&#3634; 01 &#3609;&#3634;&#3607;&#3637; 23 &#3623;&#3636;&#3609;&#3634;&#3607;&#3637; UTC+7, Greg Berchin &#3648;&#3586;&#3637;&#3618;&#3609;&#3623;&#3656;&#3634;:
> On Tuesday, January 22, 2019 at 11:28:16 PM UTC-6, won...@gmail.com wrote: > > > Could u explain why u add 0 and 4 to the complex hermitian conjugate when a number is even. > > The reason to put *values* at DC and Fs/2 is because the DFT of a real sequence with an even number of elements is conjugate-symmetric about DC and Fs/2 -- they serve as "pivot points" for the symmetry. The reason that the values at DC and Fs/2 are *real* is that the only way a number can be its own complex conjugate is if it's real. The reason that the values are "0" and "4" has been lost to history -- this is, after all, an eleven year old thread. > > - Greg
Thanks Greg for your explanation.