head
Get top rows of table or array.
Syntax
head(A)
head(A, k)
B = head(...)
Input argument
A - Input array (table or other).
Output argument
k - a integer value: Number of rows to extract (k = 8 by default).
Description
head(A) displays the first eight rows of an array, or table A in the Command Window without assigning it to a variable.
head(A, k) displays the first k rows of A.
B = head(...) returns the specified rows of A for any of the previous syntaxes, with B having the same data type as A.
Examples
See also
History
Version
Description
1.9.0
initial version
Author
Allan CORNET
Last updated