putting column vectors into a table
显示 更早的评论
If i have various column vectors, such as A = [1;2;3] B = [4;5;6] C = [7;8;9]
how would i put A B & C into a table. Meaning, A is the first column of the table, B is the second column, and C is the third column of the table.
回答(1 个)
Walter Roberson
2018-4-22
table(A, B, C)
2 个评论
Shafiqullah Shah
2018-4-22
Walter Roberson
2018-4-22
You accidentally created a variable named table
Alternately you might be using a version of MATLAB that is too old to have table objects.
类别
在 帮助中心 和 File Exchange 中查找有关 Tables 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!