switch column of table
40 ビュー (過去 30 日間)
古いコメントを表示
If you have a table called A. And this table has three columns. How can you replace column three with column two?
6 件のコメント
採用された回答
Akira Agata
2018 年 5 月 25 日
編集済み: Akira Agata
2018 年 5 月 25 日
If you have the latest version (R2018a), you can simply do it by movevars function, like:
yourTable = movevars(yourTable,2,'After',3);
その他の回答 (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!