Azzera filtri
Azzera filtri

How to make data table aligned straight column by column?

3 visualizzazioni (ultimi 30 giorni)
Hello,
I am unable to make my data table straight in vertical column by column as shown in the example below:
Age Height Weight BloodPressure
___ ______ ______ _____________
Smith 38 71 176 124 93
Johnson 43 69 163 109 77
Williams 38 64 131 125 83
Jones 40 67 133 117 75
Brown 49 64 119 122 80
My output table look like below:
LastName Gender Age Height Weight Smoker
__________ ______ ___ ______ ______ ______
'Smith' 'M' 38 71 176 1
'Johnson' 'M' 43 69 163 0
'Williams' 'F' 38 64 131 0
'Jones' 'f' 40 67 133 0
'Brown' 'F' 49 64 119 0
Anyone know? Please help. Thank you in advance!
  1 Commento
Walter Roberson
Walter Roberson il 26 Giu 2016
How are you doing the output? When I try with a table object, everything is aligned for me.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Tables in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by