Adding a categorical column to a table

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 commentaires

myTable.myCategoricalCol = myCategoricalVariable;
Btw, your org01 has only one category!
Wesso
Wesso le 6 Jan 2021
Thanks. that was very helpful

Connectez-vous pour commenter.

Réponses (0)

Catégories

Tags

Question posée :

le 6 Jan 2021

Commenté :

le 6 Jan 2021

Community Treasure Hunt

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

Start Hunting!

Translated by