Triangle Generator
Generation of a symmetrical triangular signal at regular intervals.
blockType: SubSystem
Path in the library:
|
Description
Block Triangle Generator generates a symmetrical triangular signal with peak amplitude ±1. The figure shows how the parameters Frequency, Hz and Phase, deg affect the shape of the output signal.
Ports
Output
#
OUT_1
—
generated output signal
scalar
Details
The generated symmetrical triangular signal, specified by the parameters.
| Data types |
|
| Complex numbers support |
No |
Parameters
Main group
# Frequency, Hz — The frequency of the triangular signal
Details
The frequency of the triangular signal, measured in Hz.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Phase, deg — triangular signal delay
Details
The delay of the triangular signal, measured in degrees. If this parameter is set to 0, the signal starts with the amplitude −1 and it has a positive slope.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Sample time, s — block sampling period
Details
The sampling period of the block, measured in seconds. Set the value 0 to implement a continuous block.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |