| DSP Blockset | Search  Help Desk |
| Sample and Hold | See Also |
Sample and hold an input signal.
Library
Switches and Counters, in General DSPDescription
The Sample and Hold block acquires a new sample (scalar, vector, or matrix) from the signal input whenever it is triggered by the control signal at the trigger input (
). The block holds the output at the sampled input value until the next triggering event occurs.
The triggering event at the top port is specified by the Trigger type pop-up menu, and can be one of the following:
ic, of length M*N, to be reshaped to matrix dimensions.
y = reshape(ic,M,N) % equivalent MATLAB code
Dialog Box

See Also
Downsample