Variance - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Variance

Calculates the empirical variance of its input signal

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

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.

Equations

y={max0,vart0+tεt0otherwise

dμdt={uμtt0t0+tεt0otherwise

dvardt={uμ2vartt0t0+tεt0otherwise

Connections

Name

Description

Modelica ID

u

Noisy input signal

u

y

Variance of the input signal

y

Parameters

Name

Default

Units

Description

Modelica ID

tε

1·10−7

s

Variance calculation starts at t0+tε

t_eps

Modelica Standard Library

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