Owning Class: basic
Requires: MathScript RT Module
c = min(a)
c = min(a, b)
c = min(a, [], e)
[c, d] = min(a)
Determines the smallest input element. If an element is complex, LabVIEW considers only its magnitude.
| Name | Description |
|---|---|
| a | Specifies a numeric scalar, vector, or matrix. |
| b | Specifies a scalar, vector, or matrix of the same size as a. |
| e | Specifies the dimension of a in which LabVIEW determines the largest input element. e is an integer. |
| [] | Tells LabVIEW that you want to specify a and e but not b. |
| Name | Description |
|---|---|
| c | Returns the smallest element in a if a is a vector. If a is a matrix, c returns a row vector of the smallest elements in each column of a or a column vector of the smallest elements in each row of a, depending on the value of e. If you specify b, c returns the smallest of the corresponding elements of a and b. c is a scalar or vector. |
| d | Specifies the indexes in a of the smallest elements. d is a scalar or vector. |
A = rand(3, 3)
C = min(A)