How to add new row to matrix of variable columns
2 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Guillaume
on 28 Oct 2019
You can't add variable names to matrices. Matrices can only contain numbers.
0 Comments
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!