DIV – Division of two signals

Block SymbolLicensing group: STANDARD
PIC

Function Description
The DIV block divides two analog input signals y= u1u2. In case u2 = 0, the output E is set to onand the output y is substituted by y = yerr.

Inputs

u1

First analog input of the block

double

u2

Second analog input of the block

double

Outputs

y

Quotient of the inputs

double

E

Error flag – division by zero

bool

Parameter

yerr

Substitute value for an error case  1.0

double