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 (F64)

Outputs

mu

Mean value of the input signal

Double (F64)

si

Standard deviation of the input signal

Double (F64)

Parameter

n

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

Long (I32)

nmax

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

Long (I32)

2023 © REX Controls s.r.o., www.rexygen.com