Member of the support class.
n = length(a)
Computes the length of a numeric object or string. The length of a matrix is the number of rows or columns in the matrix, depending on which is larger. The length of a string is the number of characters in the string.
| Name | Description |
| a | Specifies a numeric object or string. |
| Name | Description |
| n | Returns the length of a. n is a scalar. |
VECTOR =[0, 3, -4.5, 2, 4, 7]
length(VECTOR)
MATRIX = rand(4, 5)
length(MATRIX)
aString = 'abcdef'
length(aString)