blockTrapezoid
Generate trapezoidal signal of type Real
Extends from Interfaces.SignalSource (Base class for continuous signal source).
Information
The Real output y is a trapezoid signal:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of trapezoid |
| SI.Time | rising | 0 | Rising duration of trapezoid |
| SI.Time | width | 0.5 | Width duration of trapezoid |
| SI.Time | falling | 0 | Falling duration of trapezoid |
| SI.Time | period | Time for one period | |
| Integer | nperiod | -1 | Number of periods (< 0 means infinite number of periods) |
| Real | offset (from SignalSource) | 0 | Offset of output signal y |
| SI.Time | startTime (from SignalSource) | 0 | Output y = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |