MATLAB tableについて
조회 수: 238 (최근 30일)
이전 댓글 표시
MATLABのtableを使用する際に、各列の配列名を取得するためには、どうすればよいのでしょうか。
↓A,Bをtableから抽出したいです。
例
A B
---------------------------------------
1| 43 44
댓글 수: 2
채택된 답변
Shunichi Kusano
2024년 2월 20일
次のようにアクセスできます。
t = table([43],[44],'VariableNames',{'A','B'})
t.Properties.VariableNames
댓글 수: 5
Dyuman Joshi
2024년 2월 21일
"AとBを変数として使いたい場合はどのようにすればよろしいでしょうか"
Once again, why do you want to do that?
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!