### MINMAX – Running minimum and maximum

Block SymbolLicensing group: STANDARD

Function Description
The MINMAX function block evaluates minimum and maximum from the last n samples of the u input signal. The output $\mathtt{\text{RDY}}=\mathtt{\text{off}}$ indicates that the buffer contains less than n samples. In such a case the minimum and maximum are found among the available samples.

Inputs

 n Number of samples for analysis (buffer length)  $↓$1 $↑$10000000 $\odot$100 long nmax Limit value of parameter n (used for internal memory allocation)  $↓$10 $↑$10000000 $\odot$200 long