EVAR – Moving mean value and standard deviation

Block SymbolLicensing group: STANDARD
PIC

Function Description
The EVAR block estimates the mean value mu (μ) and standard deviation si (σ) from the last n samples of the input signal u according to the formulas

μk = 1 n i=0n1u ki σk = 1 n i=0n1uki2 μk2

where k stands for the current sampling instant.

Input

u

Analog input of the block

double

Outputs

mu

Mean value of the input signal

double

si

Standard deviation of the input signal

double

Parameter

n

Number of samples to estimate the statistical properties from   2  10000000 100

long

nmax

Limit value of parameter n (used for internal memory allocation)   1  10000000 10

long