I have a function F(t) = 1 + 2*sin(pi*t/180);
So it has one harmonic.
If I do
The first one should be simply 2 a constant.
I get 5.5232 and this number keeps changing with the number of harmonics I ask for. I am not familiar with all this, hence question. Please help with correct usage of fft command. Thanks.