max
(method of tensor)
Syntax
m = max(T)
Example
X = [2 8 4; 7 3 9] max(X,[],1) max(X,[],2) max(X,5)
X = 2 8 4 7 3 9 ans = 7 8 9 ans = 8 9 ans = 5 8 5 7 5 9
See also
MTEX 5.2.beta1 |
MTEX - A MATLAB Toolbox for Quantitative Texture Analysis | View Code |
(method of tensor)
X = [2 8 4; 7 3 9] max(X,[],1) max(X,[],2) max(X,5)
X = 2 8 4 7 3 9 ans = 7 8 9 ans = 8 9 ans = 5 8 5 7 5 9
MTEX 5.2.beta1 |