.Modelica_Noise.Blocks.Math.Variance

Information

This block calculates the empirical variance of its input signal. It is based on the formula (but implemented in a more reliable numerical way):

y = mean(  (u - mean(u))^2  )

The parameter t_eps is used to guard against division by zero (the variance computation starts at startTime + t_eps and before that time instant y = 0).

The variance of a signal is also equal to its mean power.

This block is demonstrated in the examples UniformNoiseProperties, NormalNoiseProperties and WeibullNoiseProperties.

Revisions

Date Description
June 22, 2015
Initial version implemented by A. Klöckner, F. v.d. Linden, D. Zimmer, M. Otter.
DLR Institute of System Dynamics and Control


Generated at 2024-11-21T19:25:40Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos