Re: FFT magnitude trouble



Really i´m Sorry, Im new in this forum and when i send the first message i
thought that it never was camming to the website thats why never did i
read the other message just when you send me the link.

Please accept my excuses, i appreciate your help, i need a lot.

You have reason both message is the same question
hello for everybody¡¡¡

I would thanks if somebody could help me.

I´m working with FFT and FHT, i wrote my code enC++ for raddix 2 in both
cases. When i run my programs everything is OK, the armonics are detected
very well in the correct frecuency in both cases, but my problem begin
here, the magnitud of my armonics are diferent. The signal that i analyse
is:

1 + 1 * sin(2*pi*f*n + P) + 1 * sin(2*pi*3*f*n) + 1 * sin(2*pi*5*f*n)
1 * sin(2*pi*7*f*n) + 1 * sin(2*pi*9*f*n) + 1 * sin(2*pi*11*f*n)

The dc component is almost 2 times more than fundamental armonic the
others armonic are a little smaller o a little bigger. I dont know if i
need to do some extra step inside of the algorithm or outside.

thanks for your help¡¡¡

.