PLECS 3.0 Online Help |
Perform a discrete Fourier transform of the input signal.
PLECS Extras / Discrete Analysis
This block calculates the discrete Fourier transform of a periodic input signal
based on discrete samples. The sample time, the number of samples and the
harmonic order(s) can be specified. The fundamental frequency of the running
window is
The outputs of the block are the magnitude and phase angle of the specified harmonics.
If you specify more than one harmonic, the outputs will be vectors with the corresponding width. Alternatively you can specify a single harmonic and feed a vector signal into the block.