Mux
Signal RoutingCombines multiple scalar input signals into a single output. The output is the sum of all connected inputs.
Mathematical Model
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
In | number | Required |
| ← Out | out |
Vector | vector | Output |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
numInputs |
Number of Inputs | number | 2 |
Usage Examples
| Inputs | Result |
|---|---|
| uā = 3, uā = 5 | y = 8 |
| uā = -2, uā = 4, uā = 1 | y = 3 |
Remarks & Best Practices
- All inputs must be scalar values; vector inputs are not supported
- Unconnected inputs are treated as zero
- Useful for consolidating multiple sensor readings or summing contributions before a single processing block