Engee 文档

Discrete Impulse

产生离散脉冲。

类型: DiscreteImpulse

图书馆中的路径:

/Signal Operations/Sources/Discrete Impulse

说明

Discrete Impulse -th 计数上产生一个脉冲(值为 1),其中 由参数定义。 Delay (samples) . -th采样前后的所有输出采样都等于零。

是长度为 的矢量时,程序块会生成一个大小为 by 的矩阵,其中 是单个通道的数量, 是帧的大小,由参数定义。 Samples per frame . 的脉冲—​第二个通道出现在 倒计时上。

参数 Sample time , , 决定输出信号的参考周期。由此产生的帧周期等于

端口

输出

# OUT_1 — 离散脉冲信号
scalar | vector | matrix

Details

输出信号包含离散脉冲,采样率为 ,其中 是标量或矢量,由参数 Delay (samples) .

数据类型

Float32, Float64, Int8, Int16, Int32, UInt8, UInt16, UInt32, Bool, Fixed

复数支持

参数

主页

# Delay (samples) — 零值输出样本数
Scalar / array of Int64

Details

脉冲前的零输出采样点数, 。设置为大于或等于零的整数值标量或矢量。如果参数 Delay (samples) 设置为长度为 的矢量,则输出为 通道信号。

默认值

0

程序使用名称

Delay

可调谐

可计算

# Sample time — 输出数据采样周期
Real number

Details

输出采样周期 设置为正标量。输出帧的周期等于

默认值

1

程序使用名称

SampleTime

可调谐

可计算

# Samples per frame — 每帧计数
Int64 integer

Details

每个输出帧中的样本数 ,指定为正整数标量。

默认值

1

程序使用名称

SamplesPerFrame

可调谐

可计算

# Output data type — 输出数据类型
Float64 | Float32 | Float16 | Int8 | UInt8 | Int16 | UInt16 | Int32 | UInt32 | Int64 | UInt64 | Int128 | UInt128 | Bool | Fixed-point

Details

指定此数据块的输出数据类型。

Float64 | Float32 | Float16 | Int8 | UInt8 | Int16 | UInt16 | Int32 | UInt32 | Int64 | UInt64 | Int128 | UInt128 | Bool | Fixed-point

默认值

Float64

程序使用名称

OutDataTypeStr

可调谐

可计算

# Output fixed-point type — 定点输出数据类型
Data type

Details

定点输出数据类型。

依赖关系

要使用该参数,请将参数设置为 Output data typeFixed-point.

默认值

fixdt(1, 16, 0)

程序使用名称

OutDataTypeStrFixed

可调谐

可计算

实例