how remove the effect of hermitian symmetric ???
1 view (last 30 days)
Show older comments
To remove the imaginary signal a hermitian symmetry is placed with the ifft as shown below
Xsym = ifft(Y,'symmetric')
My question is how to remove it in fft?
2 Comments
David Goodmanson
on 30 Aug 2019
Hi abdullah,
do you mean removing it if all you have is Xsym? That would not be possible because of loss of information when using the 'symmetric" optiion.
Answers (1)
Matt J
on 31 Aug 2019
Edited: Matt J
on 31 Aug 2019
This is equivalent to forcing conjugate symmetry in fft(),
Yfft = ifft(conj(Y),'symmetric')*numel(Y);
If Y is real, you can of course omit the conj.
2 Comments
Matt J
on 31 Aug 2019
Edited: Matt J
on 31 Aug 2019
Works fine for me:
>> Y=ifftshift([1.1 2.1 3 2 1]) %non-symmetric input
Y =
3.0000 2.0000 1.0000 1.1000 2.1000
>> Ysym=round(Y) %symmetric input
Ysym =
3 2 1 1 2
>> fft(Ysym) %ideal result
ans =
9.0000 2.6180 0.3820 0.3820 2.6180
>> Yfft = ifft(conj(Y),'symmetric')*numel(Y) %force symmetry
Yfft =
9.0000 2.6180 0.3820 0.3820 2.6180
See Also
Categories
Find more on Transforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!