Re: fourier anlysis of square wave...



suren wrote:
Hello Folks,
I convert a sine wave to a square wave using a zero crossing detector
function, i.e output = 1 if input >0 else output =-1.
If I plot the FFT of the resulting square wave, I see lots of tones
that are not harmonics of the fundamental frequency of the sine wave.
Can anyone explain this.

The non-harmonic tones are aliases. Do you understand about aliasing in sampled signals?

Jerry
--
Engineering is the art of making what you want from things you can get.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
.



Relevant Pages

  • Re: fourier anlysis of square wave...
    ... I convert a sine wave to a square wave using a zero crossing detector ... If I plot the FFT of the resulting square wave, ...
    (comp.dsp)
  • fourier anlysis of square wave...
    ... I convert a sine wave to a square wave using a zero crossing detector ... If I plot the FFT of the resulting square wave, ...
    (comp.dsp)
  • Re: 2D FFT
    ... the 2D FFT of the data. ... sine wave of single frequency in each dimension. ... horizontal direction are 'horizontal' spatial frequencies, ... FFT of a relief map of Marin County is quite simple. ...
    (comp.dsp)
  • Re: 2D FFT
    ... A 2D FFT is a way of making any 2D map by adding together 'egg boxes' ... If you apply a 2D FFT to a brain scan image that was created by MRI, ... sine wave of single frequency in each dimension. ... horizontal direction are 'horizontal' spatial frequencies, ...
    (comp.dsp)
  • Re: 2D FFT
    ... A 2D FFT is a way of making any 2D map by adding together 'egg boxes' ... If you apply a 2D FFT to a brain scan image that was created by MRI, ... sine wave of single frequency in each dimension. ... horizontal direction are 'horizontal' spatial frequencies, ...
    (comp.dsp)