How to add new row to matrix of variable columns
1 次查看(过去 30 天)
显示 更早的评论
I have a matrix created with multiple column vectors and am looking for a way to add a row vector to the matrix to include the variable names in the matrix. Not sure how to add a row to a column vector matrix.
0 个评论
采纳的回答
Guillaume
2019-10-28
You can't add variable names to matrices. Matrices can only contain numbers.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!