blockSum
Output the sum of the elements of the input vector
Extends from Interfaces.ComplexMISO (Multiple Input Single Output continuous control block).
Information
This blocks computes output y as
sum of the elements of the input signal vector
u:
y = u[1] + u[2] + ...;
Example:
parameter: nin = 3; results in the following equations: y = u[1] + u[2] + u[3];
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nin (from ComplexMISO) | 1 | Number of inputs |
| Boolean[nin] | useConjugateInput (from ComplexMISO) | fill(false, nin) | If true, inputs are processed conjugate complex |
| Complex[nin] | k | fill(Complex(1, 0), nin) | Optional: sum coefficients |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ComplexInput[nin] | u (from ComplexMISO) | Connector of Complex input signals | |
| ComplexOutput | y (from ComplexMISO) | Connector of Complex output signal |