Group: | Statistical Data Analysis |
Topic: | Basic Statistics |
See also: | maxind median min minind quantile |
Function: | max | |
Description: | max computes the maximal value of the elements of an array regarding a given dimension. |
Usage: | z = max (x {,j}) | |
Input: | ||
x | d1 x d2 x ... x dn array | |
j | integer (number of dimension, default = 1) | |
Output: | ||
z | d1 x d2 x .. x d(j-1) x 1 x d(j+1) x .. x dn array |
randomize(0) x = normal(2, 4) max(x,2)
Contents of max [1,] 1.9502 [2,] 0.69812