How to make the matrix first column name (character), second column content (number)
2 次查看(过去 30 天)
显示 更早的评论
采纳的回答
KSSV
2022-5-30
For this the best suitable is table
varname = {'H1e' ; 'H2e' ;'H3e';'H4e';'H5e'} ;
val = [12; 0.58; 5; 7;3.98] ;
T = table(varname,val)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!