Generate discrete impulse
DSP System Toolbox / Sources
The Discrete Impulse block generates an impulse (the value
1
) at output sample D+1
, where you specify
D
using the Delay parameter
(D
≥ 0
). All output samples preceding and
following sample D+1
are zero.
When D
is a length-N vector, the block generates
an M-by-N matrix output representing
N distinct channels, where you specify frame size
M using the Samples per frame parameter. The
impulse for the i
th channel appears at sample
D(i)+1
.
The Sample time parameter value, Ts, specifies the output signal sample period. The resulting frame period is MTs.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|