Signal Generator
A generator of a signal of a given shape.
Description
The Signal Generator unit can generate one of four different waveforms:
-
Sine
-
Rectangular
-
Sawtooth
-
Random
Waveform parameters can be specified in hertz or radians per second. By default, you will get one of the following waveforms:
Waveform Parameter | Output Waveform |
---|---|
Sine |
|
Rectangular |
|
Saw-shaped |
|
Random |
A negative value of the Amplitude parameter causes a 180 degree phase shift.
The settings of the Signal Generator block can be changed during the simulation to quickly determine how the system reacts to different types of signals.
The Amplitude and Frequency parameters define the amplitude and frequency of the output signal. Parameters must have the same dimensions (after scalar expansion).
Parameters
Wave form - form of the generated signal
sine (by default)
| square
| sawtooth
| random
Sets the waveform.
Block parameter |
|
Value |
|
By default |
|
Amplitude - signal amplitude
1.0 (by default)
| scalar
| vector
| matrix
Amplitude of the generated signal.
Block parameter |
|
Value |
|
By default |
|
Frequency - the frequency of the signal.
1.0 (by default)
| scalar
| vector
| matrix
Frequency of the generated signal.
Block parameter |
|
Value |
|
By default |
|
Units - units of signal measurement
rad/sec (by default)
| Hertz
The units of signal measurement are Hertz or rad/sec.
Block parameter |
|
Value |
|
By default |
|