| Unit: | SDL_fourier | | Class: | TFastFourier | | Declaration: | property Magnitude[ix: integer]: double; |
The readonly array property Magnitude provides access to the magnitude spectrum. The index ix may assume values between 0 and SpectrumSize div 2. Accessing any value of the array below 0 and above SpectrumSize div 2 will result in a zero value on read. The constant coefficient a0 is stored in Magnitude[0], the first harmonic in Magnitude[1], the second in Magnitude[2], and so on.
| Hint: |
The Magnitude is the square root of the sum of the squared coefficients. Assuming that the Fourier series is determined by the following equation,
then the magnitude coefficients Dn are calculated as follows:
|
|