Re: FFT magnitude trouble




Salvadorr wrote:
I wrote the code for FFT and FHT in C++. I normalized the frecuency in
everythig was Ok, but the magnitud of my armonics in both cases are
diferents. This is the signal what i analize
1*sin(2*pi*f*n)+1*sin(2*pi*3*f*n)+1*sin(2*pi*5*f*n)
I dont know what is my mistake or what do i need to do.

Do you apply a window before the FFT?

.



Relevant Pages

  • Re: FFT magnitude trouble
    ... but the magnitud of my armonics in both cases are ... diferents. ... This is the signal what i analize ... I dont know what is my mistake or what do i need to do. ...
    (comp.dsp)
  • Re: FFT magnitude trouble
    ... but the magnitud of my armonics in both cases are ... diferents. ... This is the signal what i analize ... I dont know what is my mistake or what do i need to do. ...
    (comp.dsp)