Note: This page has been translated by MathWorks. Please click here

To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.

Print summary of table, timetable, or categorical array

`summary(T)`

`s = summary(T)`

`summary(A)`

`summary(A,dim)`

`summary(`

prints
a summary of the table or timetable `T`

)`T`

.

If

`T`

is a table, then the table summary displays the description from`T.Properties.Description`

followed by a summary of the table variables.If

`T`

is a timetable, then the timetable summary displays the description from`T.Properties.Description`

, a summary of the row times, and then a summary of the timetable variables.

`summary(`

prints
a summary of the categorical array `A`

)`A`

.

If

`A`

is a vector, then`summary(A)`

displays the category names along with the number of elements in each category (the category counts). It also displays the number of elements that are undefined.If

`A`

is a matrix, then`summary`

treats the columns of`A`

as vectors and displays the category counts for each column of`A`

.If

`A`

is a multidimensional array, then`summary`

acts along the first array dimension whose size does not equal`1`

.

`categorical`

| `categories`

| `countcats`

| `table`

| `timetable`

Was this topic helpful?