Processing math: 100%

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=1nn1i=0ukiσk=1nn1i=0u2kiμ2k

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