remove variables except for prespecified variables from a table
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
alpedhuez
il 15 Ago 2021
Commentato: alpedhuez
il 15 Ago 2021
Suppose I have a table T with the set of variables
Date Location Visitors Purchases Item1 Item2 Item3 ...
I just want to keep variables
Date Visitors
and remove the rest of varibles. One can use removevars function but need to write down all variables that will be deleted. Is there any simpler way?
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!