naming your rows and column for a matrix
49 次查看(过去 30 天)
显示 更早的评论
How do i name the rows and columns within my 3*6 matrix. Column names are Cw,Ca,Csoil,Csed,Cssed,Cf and row names are Benzene, Lindane, Phenanthrane. The name of the matrix is ConcChem. Thanks in advance
0 个评论
回答(1 个)
Star Strider
2019-10-20
Use array2table to put your matrix in a table (R2013b and later). Name the columns with Specify Variable Names, and the rows with Specify Row Names.
1 个评论
Zari Zari
2022-10-10
Thank you so much, I was looking for something like this. Thank you for answering to the original
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!