clip [analysis]
Clip values outside the range to the value at the boundary of the
range.

X = clip(X)
Clip to range [0, 1]

X = clip(X, hi)
Clip to range [0, hi]

X = clip(X, [lo, hi])
Clip to range [lo, hi]