WOLFRAM SYSTEM MODELER
NormalNoisePropertiesDemonstrates the computation of properties for normally distributed noise |
SystemModel["Modelica.Blocks.Examples.Noise.NormalNoiseProperties"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This example demonstrates statistical properties of the Blocks.Noise.NormalNoise block using a normal random number distribution with mu=3, sigma=1. From the generated noise the mean and the variance is computed with blocks of package Blocks.Math. Simulation results are shown in the next diagram:
The mean value of a normal noise with mu=3 is 3 and the variance of normal noise is sigma^2, so 1. The simulation results above show good agreement (after a short initial phase). This demonstrates that the random number generator and the mapping to a normal distribution have good statistical properties.
mu |
Value: 3 Type: Real Description: Mean value for normal distribution |
---|---|
sigma |
Value: 1 Type: Real Description: Standard deviation for normal distribution |
pMean |
Value: mu Type: Real Description: Theoretical mean value of normal distribution |
var |
Value: sigma ^ 2 Type: Real Description: Theoretical variance of uniform distribution |
std |
Value: sigma Type: Real Description: Theoretical standard deviation of normal distribution |
meanError_y |
Default Value: meanError.y Type: Real |
---|---|
sigmaError_y |
Default Value: sigmaError.y Type: Real |
globalSeed |
Type: GlobalSeed Description: Defines global settings for the blocks of sublibrary Noise, especially a global seed value is defined |
|
---|---|---|
noise |
Type: NormalNoise Description: Noise generator with normal distribution |
|
mean |
Type: ContinuousMean Description: Calculates the empirical expectation (mean) value of its input signal |
|
variance |
Type: Variance Description: Calculates the empirical variance of its input signal |
|
theoreticalVariance |
Type: MultiProduct Description: Product of Reals: y = u[1]*u[2]* ... *u[n] |
|
meanError |
Type: Feedback Description: Output difference between commanded and feedback input |
|
theoreticalMean |
Type: Constant Description: Generate constant signal of type Real |
|
varianceError |
Type: Feedback Description: Output difference between commanded and feedback input |
|
theoreticalSigma |
Type: Constant Description: Generate constant signal of type Real |
|
standardDeviation |
Type: StandardDeviation Description: Calculates the empirical standard deviation of its input signal |
|
sigmaError |
Type: Feedback Description: Output difference between commanded and feedback input |
Date | Description | ||
---|---|---|---|
June 22, 2015 |
|