Fourier
(To be removed) Perform Fourier analysis of signal
The Specialized Power Systems library will be removed in R2026a. Use the Simscape™ Electrical™ blocks and functions instead. For more information on updating your models, see Upgrade Specialized Power System Models to use Simscape Electrical Blocks.
Libraries:
Simscape /
Electrical /
Specialized Power Systems /
Sensors and Measurements
Description
The Fourier block performs a Fourier analysis of the input signal over a running window of one cycle of the fundamental frequency of the signal. The Fourier block can be programmed to calculate the magnitude and phase of the DC component, the fundamental, or any harmonic component of the input signal.
Recall that a signal f(t) can be expressed by a Fourier series of the form
where n represents the rank of the harmonics. (n = 1 corresponds to the fundamental component.) The magnitude and phase of the selected harmonic component are calculated by these equations:
where
As this block uses a running average window, one cycle of simulation must complete before the outputs give the correct magnitude and angle. For the first cycle of simulation, the outputs are held to the values specified by the initial input parameter.
Characteristics
| Sample Time | Specified in the Sample Time parameter. Continuous if Sample Time = 0. |
| Scalar Expansion | Yes, of the parameters. |
| Dimensionalized | Yes. |
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2013a
