User`s guide
Sine Wave
5-404
Sample time
The period with which the sine wave is sampled, T
s
. The block’s output
frame period is M
∗T
s
, where M is specified by the Samples per frame
parameter. This parameter is disabled when
Continuous is selected from
the
Sample mode parameter.
Samples per frame
The number of consecutive samples from each sinusoid to buffer into the
output frame, M. This parameter is disabled when
Continuous is selected
from the
Sample mode parameter.
State when re-enabled
The behavior of the block when a disabled subsystem containing it is
reenabled. The block can either reset itself to its starting state (
Restart at
time zero
), or resume generating the sinusoid based on the current
simulation time (
Catch up to simulation time). This parameter is
disabled when
Continuous is selected from the Sample mode parameter.
Supported
Data Types
See Also
See “Creating Signals Using Signal Generator Blocks” on page 3-36 for related
information.
Double-precision floating point
Chirp DSP Blockset
Complex Exponential DSP Blockset
Signal From Workspace DSP Blockset
Signal Generator Simulink
Sine Wave Simulink
sin
MATLAB