Max
Pass through the largest signal
Library
Blocks/Math
Description
This block computes the output y as maximum of the two Real inputs u1 and u2:
y = max ( u1 , u2 );
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_u1 | u1 | u1 | Structure | |
mo_u1/fixed | fixed | Cell of scalars | true | |
mo_u1/start | start | Cell of scalars | ||
mo_u2 | u2 | u2 | Structure | |
mo_u2/fixed | fixed | Cell of scalars | true | |
mo_u2/start | start | Cell of scalars | ||
mo_y | y | y | Structure | |
mo_y/fixed | fixed | Cell of scalars | true | |
mo_y/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
u1 | implicit | Connector of Real input signal 1 | input | 1 |
u2 | implicit | Connector of Real input signal 2 | input | 2 |
y | implicit | Connector of Real output signal | output | 1 |