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.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

u

Analog input of the block

Double (F64)

Parameter

n

Number of samples for statistics   2  10000000 100

Long (I32)

nmax

Allocated size of array   10  10000000 200

Long (I32)

Output

mu

Mean value

Double (F64)

si

Standard deviation

Double (F64)

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