Column with constant value
显示 更早的评论
Hi,
I have to create a new column in my table (392x 7).
Every row of that new column has to contain the value 2. How can I create a new column in my table with the constant value 2?
I am new with Matlab and would appreciate any help!
回答(1 个)
Cris LaPierre
2021-10-9
0 个投票
Simple assignment. See how to access data in a table, as well as ch 4 of MATLAB Onramp (creating vectors).
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!