MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
h2 = histogram(T.Diastolic(tf),'BinMethod','integers');
xlabel('Diastolic Reading (mm Hg)');
ylabel('Number of Patients');
legend('BMI <= 25','BMI > 25');
title('Diastolic Readings for Low and High BMI');
hold off

Reorder Table Variables and Rows for Output

To prepare the table for output, reorder the table rows by name, and table variables by
position or name. Display the final arrangement of the table.

Sort the table by row names so that patients are listed in alphabetical order.

9 Tables

Free download pdf