switch column of table
40 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Eliah Verbeemen
le 24 Mai 2018
Commenté : Walter Roberson
le 25 Mai 2018
If you have a table called A. And this table has three columns. How can you replace column three with column two?
6 commentaires
Réponse acceptée
Akira Agata
le 25 Mai 2018
Modifié(e) : Akira Agata
le 25 Mai 2018
If you have the latest version (R2018a), you can simply do it by movevars function, like:
yourTable = movevars(yourTable,2,'After',3);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!