minmax
(To be removed) Ranges of matrix rows
minmax will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
Syntax
pr = minmax(P)
Description
pr = minmax(P) takes one argument,
P |
|
and returns the R-by-2 matrix
pr of minimum and maximum values for each row of
P.
Alternatively, P can be an
M-by-N cell array of matrices. Each matrix
P{i,j} should have Ri rows and
Q columns. In this case, minmax returns an
M-by-1 cell array where the
mth element is an Ri-by-2
matrix of the minimum and maximum values of elements for the matrix on the
ith row of P.
Examples
x = rands(4,5) mm = minmax(x) x = nndata([1;2],3,4) mm = minmax(x)
Version History
Introduced before R2006aSee Also
Time Series
Modeler | fitrnet (Statistics and Machine Learning Toolbox) | fitcnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork