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