limit

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
limit

Limit the input values to a particular range of values.

Usage:

limit(val, lo, hi)

Function:

Limit the val values to the range of values between lo and hi (lo<=val<=hi). VAlues outside the range are set to the boundary values.

Parameters:
val
The input scalar, vector or matrix.
lo
The lower boundary scalar.
hi
The upper boundary scalar.

Navigation menu

Personal tools