blockStandardDeviation
Calculates the empirical standard deviation of its input signal
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This block calculates the standard deviation of its input signal. The standard deviation is the square root of the signal's variance:
y = sqrt( variance(u) )
The Variance block is used to calculate variance(u).
The parameter t_eps is used to guard against division by zero (the computation of the standard deviation starts at <simulation start time> + t_eps and before that time instant y = 0).
This block is demonstrated in the examples UniformNoiseProperties and NormalNoiseProperties.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Advanced | |||
| SI.Time | t_eps | 1e-7 | Standard deviation calculation starts at startTime + t_eps |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u | Noisy input signal | |
| Modelica.Blocks.Interfaces.RealOutput | y | Standard deviation of the input signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Variance | variance | ||
| Modelica.Blocks.Math.Sqrt | sqrt1 |
Revisions
| Date | Description | ||
|---|---|---|---|
| June 22, 2015 |
|