Member of the basic class.
c = max(a)
c = max(a, b)
[c, d] = max(a)
Determines the largest input element. If an element is complex, LabVIEW considers only its magnitude.
| Name | Description |
| a | Specifies a vector or matrix. |
| b | Specifies a vector or matrix of the same size as a. |
| Name | Description |
| c | Returns the largest element in a if a is a vector. If a is a matrix, c returns a row vector of the largest elements in each column of a. If you specify b, c returns the largest of the corresponding elements of a and b. c is a scalar or vector. |
| d | Specifies the indexes in a of the largest elements. d is a scalar or vector. |
A = rand(3, 3)
C = max(A)