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!