User`s guide
Sample Rates and Frame Rates
3-23
The sample period and frame size of the original signal are set to 0.125 seconds
and 8 samples per frame, respectively, by the
Sample time and Samples per
frame
parameters in the Signal From Workspace block. This results in a frame
rate of 1 second (0.125
∗8), as shown by the first Probe block.
The Downsample block is configured to downsample the signal by changing the
frame rate rather than the frame size. The dialog box with this setting is shown
below.
The second Probe block in the model verifies that the output from the
Downsample block has a frame period of 2, twice that of the input (i.e., half the
rate). As a result, the sequence sample period is doubled to 0.25 seconds
without any change to the frame size.
Example: Rate Conversion by Frame-Size Adjustment. The model from “Example: Rate
Conversion by Frame-Rate Adjustment” on page 3-22 is shown again below,
but this time with the rate conversion implemented by adjusting the frame
size, rather than the frame rate.
Maintain input frame size:
Downsample the signal by
changing the frame
rate
.