Adding a categorical column to a table

3 views (last 30 days)
Wesso
Wesso on 6 Jan 2021
Commented: Wesso on 6 Jan 2021
I have a table and I want to a dd a categorical column to the table so that i end up with a 3 column table. How is it possible to do so (data attached)?
  2 Comments
Ive J
Ive J on 6 Jan 2021
myTable.myCategoricalCol = myCategoricalVariable;
Btw, your org01 has only one category!
Wesso
Wesso on 6 Jan 2021
Thanks. that was very helpful

Sign in to comment.

Answers (0)

Categories

Find more on Tables in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!