Fourier analysis of simulation data signals
FFTDATA = power_fftscope(ScopeData)
FFTDATA = power_fftscope(FFTDATA)
FFTDATA = power_fftscope(ScopeData) returns the FFT results for the
signal saved in the
FFTDATA is a structure with the fields in this table.
|The time vector of the simulation data signal saved in the
|The signals saved in the
|The name of the Scope block associated with the
|The input signal of the selected simulation data variable.
|The index of the selected input signal specified by the
|The start time of the FFT window.
|The number of cycles of the FFT window.
|The fundamental frequency of the analyzed signal.
|The maximum frequency evaluated by the FFT analysis.
|The maximum frequency for the total harmonic distortion (THD) calculation. Set the value to
inf to calculate the THD at the Nyquist
|The analyzed signal (FFT window data).
|The base used to compute the THD. Set to
normalize the THD with respect to fundamental value. Set the THDbase
DC to normalize the THD with respect to the
DC component value.
|The type of frequency axis of the FFT analysis plot. Set to
hertz to display the frequency axis in hertz. Set
harmonicorder to display the frequency axis in
|The computed magnitude of FFT.
|The computed phase of FFT.
|The frequency vector.
|The computed THD for the analyzed signal. The THD calculation includes all the inter-harmonics of the selected input signal.
|The sampling time of the selected input signal.
|The number of samples per cycle of the selected input signal.
|The DC component value of the selected input signal.
|The fundamental component value of the selected input signal.
FFTDATA = power_fftscope(FFTDATA) uses the
structure as a template variable to modify analysis settings and signal selection, and
to perform FFT analysis. The
power_fftscope function ignores any
FFTDATA fields that are not listed in the above
power_fftscope(ScopeData) plots the FFT
analysis results for the last simulation cycle of the signal saved
power_fftscope(FFTDATA) plots the FFT analysis results for the signal
options specified in the