Engee 文档

Abs

绝对值(模数)。

类型: Abs

图书馆中的路径:

/Basic/Math Operations/Abs

说明

Abs 计算输入信号的绝对值。

港口

输入

# IN_1 — 输入信号
scalar | vector

Details

输入信号

数据类型

Float16, Float32, Float64, Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Bool

复数支持

输出

# OUT_1 — 输出信号
scalar | vector

Details

输入信号的绝对值。

数据类型

Float64`。

复数支持

参数

主要

# Zero-Crossing Detection — 过零检测
Enable | Disable | Expose discontinuities to solver

Details

过零检测

  • Enable- 启用过零检测。

  • Disable- 过零检测关闭。

  • Expose discontinuities to solver- 利用求解器进行间隙检测。

Enable | Disable | Expose discontinuities to solver

默认值

Expose discontinuities to solver

程序使用名称

ZeroCross

可调谐

可计算

Main

# Output data type描述缺失
Inherit: auto | Same as input | Float64 | Float32 | Float16 | Int8 | UInt8 | Int16 | UInt16 | Int32 | UInt32 | Int64 | UInt64 | Int128 | UInt128 | Fixed-point

Details

描述缺失

Inherit: auto | Same as input | Float64 | Float32 | Float16 | Int8 | UInt8 | Int16 | UInt16 | Int32 | UInt32 | Int64 | UInt64 | Int128 | UInt128 | Fixed-point

默认值

Same as input

程序使用名称

OutDataTypeStr

可调谐

可计算

# Output fixed-point type描述缺失
Data type

Details

描述缺失

默认值

fixdt(1, 16, 0)

程序使用名称

OutDataTypeStrFixed

可调谐

可计算

# Integer rounding mode描述缺失
Ceiling | Convergent | Floor | Nearest | Round | Zero

Details

描述缺失

Ceiling | Convergent | Floor | Nearest | Round | Zero

默认值

Floor

程序使用名称

RndMeth

可调谐

可计算

# Saturate on integer overflow描述缺失
Logical

Details

描述缺失

默认值

false (关掉)

程序使用名称

SaturateOnIntegerOverflow

可调谐

可计算

附加选项

C 代码生成: 是