blockSawTooth
Generate saw tooth signal
Extends from Interfaces.SignalSource (Base class for continuous signal source).
Information
The Real output y is a saw tooth signal:
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of saw tooth |
| 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 |