What is the best way to append a variable / column to a table?

13 visualizaciones (últimos 30 días)
Christian Breinholt
Christian Breinholt el 21 de Nov. de 2017
Respondida: Walter Roberson el 21 de Nov. de 2017
I have a table with 16 columns/variables, that is read from a csv file. I would like to add a 17th column to it with the same length as the table.
What is the best way to do this?

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Nov. de 2017
YourTableName.NewVariableName = ColumnVectorSameLengthAsTable

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by