Engee documentation

Wrap To Zero

Reset to zero if the input signal exceeds the threshold value.

blockType: Wrap To Zero

Path in the library:

/Basic/Discontinuities/Wrap To Zero

Description

Block Wrap To Zero sets the output to zero when the input exceeds the parameter value. Threshold. When the input is less than or equal to the parameter value Threshold, the output is equal to the input.

Ports

Input

# IN_1 — Input signal
scalar | vector

Details

Input signal; scalar or vector. If the value of the input signal is equal to or exceeds the value of the parameter Threshold, the output signal is set to zero.

Data types

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

Complex numbers support

Yes

Output

# OUT_1 — Output signal
scalar | vector

Details

The output signal is set equal to the value of the input signal or zero.

Data types

Float64

Complex numbers support

Yes

Parameters

Main

# Threshold — threshold value
Scalar / array of real numbers

Details

The threshold value for setting the output to zero.

Default value

255

Program usage name

Threshold

Tunable

Yes

Evaluatable

Yes

Additional options

C code generation: Yes