Variance
Calculates the empirical variance of its input signal
Description
Equations
Connections
Parameters
Modelica Standard Library
The Variance component calculates the empirical variance of its input signal.
The parameter tε is used to guard against division by zero (the variance computation starts at t0+tε and before that time instant y=0).
The variance of a signal is also equal to its mean power.
y={max⁡0,vart0+tε≤t0otherwise
dμdt={u−μt−t0t0+tε≤t0otherwise
dvardt={u−μ2−vart−t0t0+tε≤t0otherwise
Name
Modelica ID
u
Noisy input signal
y
Variance of the input signal
Default
Units
tε
1·10−7
s
Variance calculation starts at t0+tε
t_eps
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Math Functions
Math Operators
Signal Blocks
Download Help Document