Borrar filtros
Borrar filtros

How to make data table aligned straight column by column?

3 visualizaciones (últimos 30 días)
Ben Le
Ben Le el 25 de Jun. de 2016
Comentada: Walter Roberson el 26 de Jun. de 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 comentario
Walter Roberson
Walter Roberson el 26 de Jun. de 2016
How are you doing the output? When I try with a table object, everything is aligned for me.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Tables en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by