come..
here is the questions..
First I get a sine wave:
x = sin(2*pi*10*(0:256:1.275))
I need a cube of x so... x = x*x*x
Ok, which is also equal to sin^3(x) right?
and I do a DFT.... discrete fourier transform...
So,
N is the number of samples, 256...
k is the constant from the summation...
e is the exponential...
and
n is the
N increment...
This is the result...
The question is... Why I don't have a peak of 1? Since it is a RMS of 1v peak, I did an absolute(x)/N*2
And why there is 2 peak? My freqency is 10, the first peak is right, but why the other peak become 30?
Thanks in advance..