|
A command to compute the spectrum of the selected Polynomial objects.
We calculate the spectrum by evaluating the polynomial at regularly spaced points zk on the upper half of a circle with radius r = 1 in the complex plane. The upperhalf of the unit circle, where k·φ is in the interval [0, π], will be mapped to frequencies [0, Nyquist frequency] in the spectrum.
The complex values zk (k=1..numberOfFrequencies) are defined as:
zk = r ei k φ, where, |
φ = π / (numberOfFrequencies – 1) and r = 1. |
© djmw 19990616