Hi,
I try to convert simple sine wave from time domain to frequency domain.the issue is, Amplitude is not same.
here is my configuration
i am using Math.Net.numeric ver.4.12.0.0
Signal Length 1024
Sample Rate 512
Signal Frequency 10
Amplitude 1
here is my code
var points = Generate.Sinusoidal(1024, 512, 10, 1);
for (int i = 0; i < points .Length; i++)
{
chart1.Series[“Series1”].Points.AddXY
(i,points [i]);
}
Fourier.Forward(points ,FourierOptions.Default);
for (int i = 0; i < points .Length; i++)
{
chart2.Series[“Series1”].Points.AddXY
(i, points [i].Magnitude);
}
on top chart i have amplitude 1 while in bottom chart i have 16.
2 posts - 1 participant