A(:,[i,j])=A(:,[j,i]);?
How to change two columns of a matrix?
11 views (last 30 days)
Show older comments
Hello,everyone If i have a matrix A with dimension of 200*14. How can I switch column 2 with column 13? Thanks.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!