Trapezoid
Generate trapezoidal signal of type Real
Library
Blocks/Sources
Description
The Real output y is a trapezoid signal:
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_amplitude | amplitude | Amplitude of trapezoid | Scalar | |
mo_rising | rising | Rising duration of trapezoid | Scalar | |
mo_width | width | Width duration of trapezoid | Scalar | |
mo_falling | falling | Falling duration of trapezoid | Scalar | |
mo_period | period | Time for one period | Scalar | |
mo_nperiod | nperiod | Number of periods (< 0 means infinite number of periods) | Scalar | |
mo_offset | offset | Offset of output signal y | Scalar | |
mo_startTime | startTime | Output y = offset for time < startTime | Scalar | |
mo_T_rising | T_rising | End time of rising phase within one period | Scalar | |
mo_T_width | T_width | End time of width phase within one period | Scalar | |
mo_T_falling | T_falling | End time of falling phase within one period | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
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 |
---|---|---|---|---|
y | implicit | Connector of Real output signal | output | 1 |