EAS – Extended addition and subtraction

Block SymbolLicensing group: STANDARD
PIC

Function Description
The EAS block sums input analog signals u1, u2, u3 and u4 with corresponding weights a, b, c and d. The output y is then given by

y = au1 + bu2 + cu3 + du4 + y0.

Inputs

u1

First analog input of the block

double

u2

Second analog input of the block

double

u3

Third analog input of the block

double

u4

Fourth analog input of the block

double

Output

y

Analog output of the block

double

Parameters

a

Weighting coefficient of the u1 input  1.0

double

b

Weighting coefficient of the u2 input  1.0

double

c

Weighting coefficient of the u3 input  1.0

double

d

Weighting coefficient of the u4 input  1.0

double

y0

Additive constant (bias)

double