StandardDeviation
Calculates the empirical standard deviation of its input signal
Library
Modelica/Blocks/Math
Description
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 tocalculate variance(u).
The parameter t_eps is used to guard against division by zero (the computation of the standard deviationstarts at <simulation start time> + t_eps and before that time instant y = 0).
This block is demonstrated in the examplesUniformNoiseProperties andNormalNoiseProperties.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_t_eps | t_eps | Standard deviation calculation starts at startTime + t_eps | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u | implicit | Noisy input signal | input | 1 |
y | implicit | Standard deviation of the input signal | output | 1 |