Sum

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):

Sum_equation1

Parameters

    Sum_0

  • 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.

See Also