Add

Output the sum of the two inputs

Library

Blocks/Math

Description

This blocks computes the output y (right) as sum of two input signals u1 (upper left port) and u2 (lower left port):

Add_equation1

Parameters

    Add_0

  • k1 [-] : Gain of upper input (k1): Scalar.
  • k2 [-] : Gain of lower input (k2): Scalar.

Ports

  • Port 1 at left position: implicit input fixedport numbered 1.
  • Port 2 at left position: implicit input fixedport numbered 2.
  • Port 1 at right position: implicit output fixedport numbered 1.

See Also