MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
'adw3' 22 'no' 22 22
'poj2' -99 'yes' -99 -99
'bas8' 23 'no' 23 23
'gry5' NaN 'yes' NaN 21

T is a table with 21 rows and five variables. 'TreatAsEmpty' only applies to numeric
columns in the file and cannot handle numeric values specified as text, such as '-99'.

Summarize Table

View the data type, description, units, and other descriptive statistics for each variable by
creating a table summary using the summary function.

summary(T)

Variables:

A: 21x1 cell array of character vectors

B: 21x1 double

Values:

Min -99
Median 14
Max 563
NumMissing 3

C: 21x1 cell array of character vectors

D: 21x1 double

Values:

Min -99
Median 7
Max 563
NumMissing 2

E: 21x1 double

Values:

Min -99

9 Tables

Free download pdf