summingJunction

Block Category: Arithmetic

Description: The summingJunction block produces the sum of two signed input signals. You can toggle the sign of the input signals (switch from positive to negative and vice versa) by holding down the CTRL key and clicking the right mouse button over the connector tab.

The inputs can be real or complex scalars, vectors, or matrices. When vector and matrix inputs are of unequal lengths, the summingJunction block defines the output vector or matrix to be the maximum composite size of all the incoming vectors or matrices and extends all other incoming vectors and matrices to match the length of the longest incoming vector or matrix, by padding each of them with the requisite number of zeros.