Effacer les filtres
Effacer les filtres

How to make data table aligned straight column by column?

1 vue (au cours des 30 derniers jours)
Ben Le
Ben Le le 25 Juin 2016
Commenté : Walter Roberson le 26 Juin 2016
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 commentaire
Walter Roberson
Walter Roberson le 26 Juin 2016
How are you doing the output? When I try with a table object, everything is aligned for me.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Tables dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by