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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!