User`s guide
Sample Rates and Frame Rates
3-29
To build the model, configure one Sine Wave block with Frequency = 1, and
the other with
Frequency = 2. In addition, both Sine Wave blocks should have
the following settings:
•
Sample time = 0.1
•Samples per frame = 128
The frame period of the resulting summed sinusoid is 12.8 seconds (i.e.,
128
∗0.1), which is confirmed by the Probe block when the model is updated.
Select
Inherit FFT length from input dimensions in the Magnitude FFT
block. This setting instructs the block to use the input frame size (128) as the
FFT length (which is also the output size).
Configure the Vector Scope block as follows:
•Select
Frequency from the Input domain parameter.
•Select the
Axis properties check box to expose the Axis properties panel.
•Set
Minimum Y-limit to -10.
•Set
Maximum Y-limit to 40.
The plot generated by the Vector Scope block is shown below.