tail

Get bottom rows of table or array.

📝 Syntax

  • tail(A)

  • tail(A, k)

  • B = tail(...)

📥 Input argument

  • A - Input array (table or other).

📤 Output argument

  • k - a integer value: Number of rows to extract (k = 8 by default).

📄 Description

tail(A) displays the last eight rows of an array, or tableA in the Command Window without assigning it to a variable.

tail(A, k) displays the last k rows of A.

B = tail(...) returns the specified rows ofA for any of the previous syntaxes, withB having the same data type as A.

💡 Examples

🔗 See also

head, table.

🕔 History

Version
📄 Description

1.9.0

initial version

Last updated

Was this helpful?