Mean
Compute mean value of signal
Libraries:
Simscape /
Electrical /
Specialized Power Systems /
Sensors and Measurements
Description
The Mean block computes the mean value of the input signal. The mean value is computed over a running average window of one cycle of the specified fundamental frequency:
As this block uses a running average window, one cycle of simulation must complete before the output gives the correct value. For the first cycle of simulation, the output is held constant to the specified initial input value.
Characteristics
Sample Time | Specified in the Sample Time
parameter Continuous if Sample Time = 0 |
Scalar Expansion | Yes, of the parameters |
Dimensionalized | Yes |
Examples
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2013a