MinMax Running Resettable - Determine minimum or maximum of signal over time

Library

Math Operations

Description

The MinMax Running Resettable block outputs the minimum or maximum of all past inputs u. You specify whether the block outputs the minimum or the maximum with the Function parameter.

The block can reset its state based on an external reset signal R. When the reset signal R is TRUE, the block resets the output to the value of the Initial condition parameter.

The input can be a scalar, vector, or matrix signal. If you specify a scalar Initial condition parameter, the block expands the parameter to have the same dimensions as a nonscalar input. The block outputs a signal having the same dimensions as the input. Each output element equals the running minimum or maximum of the corresponding input elements.

Data Type Support

The MinMax Running Resettable block accepts and outputs real signals of any data type supported by Simulink® software, except Boolean. The MinMax Running Resettable block supports fixed-point data types.

For a discussion on the data types supported by Simulink software, see Data Types Supported by Simulink® in the Simulink documentation.

Parameters and Dialog Box

Function

Specify whether the block outputs the minimum or the maximum.

Initial condition

Initial condition.

Characteristics

Direct Feedthrough

Yes

Scalar Expansion

Yes

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS