FFT sanity check.

  • Follow


Debugging an FFT...

If an FFT time-domain input comprises say, 1.5 cycles of sine starting 
positive going followed by another 1.5 cycles of sine starting positive 
going - in other words has 3 cycles with an inversion half way along, 
then the real and imaginary FFT outputs at the 3-cycle frequency should 
be zero.

That's right, isn't it?

Cheers
-- 
Syd

0
Reply usenet7109 (30) 7/19/2012 8:46:41 AM

On Thu, 19 Jul 2012 09:46:53 +0100, Syd Rumpo <usenet@neonica.co.uk>
wrote:

>Debugging an FFT...
>
>If an FFT time-domain input comprises say, 1.5 cycles of sine starting 
>positive going followed by another 1.5 cycles of sine starting positive 
>going - in other words has 3 cycles with an inversion half way along, 
>then the real and imaginary FFT outputs at the 3-cycle frequency should 
>be zero.
>
>That's right, isn't it?
>
>Cheers
>-- 
>Syd
>

No.

http://www.dsprelated.com/showarticle/174.php


Eric Jacobsen
Anchor Hill Communications
www.anchorhill.com
0
Reply eric.jacobsen (2389) 7/19/2012 3:46:13 PM


On Thu, 19 Jul 2012 09:46:53 +0100, Syd Rumpo <usenet@neonica.co.uk>
wrote:

>Debugging an FFT...
>
>If an FFT time-domain input comprises say, 1.5 cycles of sine starting 
>positive going followed by another 1.5 cycles of sine starting positive 
>going - in other words has 3 cycles with an inversion half way along, 
>then the real and imaginary FFT outputs at the 3-cycle frequency should 
>be zero.
>
>That's right, isn't it?
>
>Cheers
>-- 
>Syd

I shouldn't have been so terse with my previous response, and I
actually misinterpreted what you'd said, anyway.

It does look like bin 3 should be zero. 

The computation for bin 3 is essentially a correlator, and since the
correlations for the first half and the second half will have opposite
sign they cancel.   The discontinuity adds a lot of other frequency
content, though, that gets splattered around among the other bins.


Eric Jacobsen
Anchor Hill Communications
www.anchorhill.com
0
Reply eric.jacobsen (2389) 7/19/2012 4:06:43 PM

On 19/07/2012 17:06, Eric Jacobsen wrote:
> On Thu, 19 Jul 2012 09:46:53 +0100, Syd Rumpo <usenet@neonica.co.uk>
> wrote:
>
>> Debugging an FFT...
>>
>> If an FFT time-domain input comprises say, 1.5 cycles of sine starting
>> positive going followed by another 1.5 cycles of sine starting positive
>> going - in other words has 3 cycles with an inversion half way along,
>> then the real and imaginary FFT outputs at the 3-cycle frequency should
>> be zero.
>>
>> That's right, isn't it?
>>
>> Cheers
>> --
>> Syd
>
> I shouldn't have been so terse with my previous response, and I
> actually misinterpreted what you'd said, anyway.
>
> It does look like bin 3 should be zero.
>
> The computation for bin 3 is essentially a correlator, and since the
> correlations for the first half and the second half will have opposite
> sign they cancel.   The discontinuity adds a lot of other frequency
> content, though, that gets splattered around among the other bins.
>
>
> Eric Jacobsen
> Anchor Hill Communications
> www.anchorhill.com

Thanks, Eric.

-- 
Syd


0
Reply usenet7109 (30) 7/19/2012 5:42:10 PM

3 Replies
32 Views

(page loaded in 0.075 seconds)

Similiar Articles:




7/19/2012 9:55:53 PM


Reply: