Re: fourier anlysis of square wave...
- From: "Ron N." <rhnlogic@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 19:12:18 -0800 (PST)
On Nov 30, 6:00 pm, Jerry Avins <j...@xxxxxxxx> wrote:
Ron N. wrote:
...
64 cycles of period 16 (8 ones, 8 minus ones) fills 1024
samples (the clue was the fft result filling only odd
multiples of 16 bins).
Your test square wave had a frequency of fs/16. The harmonics should
fall at 3fs/16, 5fs/16 , 7fs/16 (ok so far), 9fs/16 (aliases, but 19 dB
down), 11fs/16 (aliases 21 dB down), and so on. Is that what you see?
The harmonics fell in those bins (and only those bins),
but the higher harmonics did not drop off at 1/bin_number.
Maybe the harmonics from the negative frequencies were
wrapping around from the opposite side of the fft and
interfering constructively in the middle. That would be
aliasing. But nothing appeared in non-harmonic bins. So
this aliasing would not be the cause of the OP's observation
of seeing "non-harmonic tones" in his FFT plot... unless
his square waves were not periodic in the FFT aperture,
in which case the negative frequency harmonics would not
overlap the positive frequency harmonics, but appear
in between them (in addition to the rectangular windowing
artifacts).
.
- Follow-Ups:
- Re: fourier anlysis of square wave...
- From: Jerry Avins
- Re: fourier anlysis of square wave...
- References:
- Re: fourier anlysis of square wave...
- From: Jerry Avins
- Re: fourier anlysis of square wave...
- Prev by Date: Re: fourier anlysis of square wave...
- Next by Date: Re: fourier anlysis of square wave...
- Previous by thread: Re: fourier anlysis of square wave...
- Next by thread: Re: fourier anlysis of square wave...
- Index(es):
Relevant Pages
|