Discrete Impulse
Generates a discrete pulse.
Description
Block Discrete Impulse generates a pulse (of value 1) on -th count, where is defined by parameters Delay (samples). All output samples preceding and following -th sample are equal to zero.
When is a vector of length , the block generates a matrix of size by , where is the number of individual channels and is the frame size, which is defined by the parameters . Samples per frame. The pulse of - the second channel appears on countdown.
The value of parameters Sample time, , determines the reference period of the output signal. The resulting frame period is equal to .
Ports
Output
#
OUT_1
—
discrete pulse signal
scalar
| vector
| matrix
Details
Output signal containing a discrete pulse at -sample, where is a scalar or vector given by parameters Delay (samples).
Data types |
|
Complex numbers support |
No |
Parameters
Main
#
Delay (samples) —
number of output samples with zero value
Scalar / array of Int64
Details
Number of zero output samples, , preceding the pulse. Set as a scalar or vector of integer values greater than or equal to zero. If the parameters Delay (samples) is set as a vector of length , the output is formed -channel signal.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Sample time —
output data sampling period
Real number
Details
The output sampling period, , is set as a positive scalar. The period of the output frame is equal to .
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Samples per frame —
counts per frame
Int64 integer
Details
The number of samples, , in each output frame, specified as a positive integer scalar.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
#
Output data type —
output data type
Float64
| Float32
| Float16
| Int8
| UInt8
| Int16
| UInt16
| Int32
| UInt32
| Int64
| UInt64
| Int128
| UInt128
| Bool
| Fixed-point
Details
Specify the output data type for this block.
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
No |
#
Output fixed-point type —
fixed-point output data type
Data type
Details
Fixed point output data type.
Dependencies
To use this parameter, set parameter Output data type value Fixed-point
.
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |