Divisor

| Vector | C | ST |
in the palette on the schematic

The block is vectorized. It implements division of block input signals (at scalar input signals):

where y(t) is the block output scalar signal; u1(t), u2(t) are the input signals; or element-by-element division of the block input quantities (with vector input signals):
where yi(t) is the i-th element of the block output vector signal y(t); u1 i(t), u2 i(t) are the i-th elements of the first and second input signals, u1(t), u2(t) are the input and output dimensions.

A mandatory condition is that the divisor does not equal zero (u2 i(t)≠0)!

Inputs

  • dividend - the port for value u1;
  • divisor -the port for value u2.

Outputs

  • quotient - the port for division result.

Properties:

  • Maximum value at division of number by 0 - the value of block output at division by 0;
  • Warn when dividing by 0 - whether or not to issue a message that division by 0 has occurred in the block.

Parameters

none

Прим.: The dimension of the output signal is always equal to the dimension of the input signals. The block forms a scalar output signal for scalar input signals. If the input signals are vector ones, their dimensions must match each other.