Main Content

Decrement To Zero

Decrease real-world value of signal by one, but only to zero

  • 库:
  • Simulink / Additional Math & Discrete / Additional Math: Increment - Decrement

  • Decrement To Zero block

Description

TheDecrement To Zeroblock decreases the real-world value of the signal by one. The output never goes below zero.

Ports

Input

expand all

Input signal, specified as a scalar, vector, or matrix.

Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|固定点

Output

expand all

Output is the real-world value of the input signal decreased by one. The output never goes below zero. The output has the same data type and dimensions as the input.

Data Types:single|double|int8|int16|int32|int64|uint8|uint16|uint32|uint64|固定点

Block Characteristics

Data Types

double|固定点|integer|single

Direct Feedthrough

no

Multidimensional Signals

no

Variable-Size Signals

no

Zero-Crossing Detection

no

Extended Capabilities

Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.

Introduced before R2006a