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

12 views (last 30 days)
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?

Answers (1)

Walter Roberson
Walter Roberson on 21 Nov 2017
YourTableName.NewVariableName = ColumnVectorSameLengthAsTable

Categories

Find more on Tables in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!