Ranges of matrix rows
Syntax
pr = minmax(p)
Description
minmax(P) takes one argument,
minmax(P)
P - R
Q
and returns the R x 2 matrix PR of minimum and maximum values for each row of P.
R
2
PR
P
Examples
P = [0 1 2; -1 -2 -0.5] pr = minmax(P)