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

myTable.myCategoricalCol = myCategoricalVariable;
Btw, your org01 has only one category!
Wesso
Wesso 2021년 1월 6일
Thanks. that was very helpful

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

태그

질문:

2021년 1월 6일

댓글:

2021년 1월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by