Output the sum of the elements of the input vector
Library
Blocks/Math
Description
This blocks computes the output y (right) as sum of the elements of the input vector u (left):

Parameters

- k [-] : Vector of sum coefficients (length nin) (k): Vector.
- nin [-] : Number of inputs (nin): Scalar.
Ports
- Port 1 at left position: implicit input fixedport numbered 1.
- Port 1 at right position: implicit output fixedport numbered 1.