how can I change variable inside for loop?
Ältere Kommentare anzeigen
I have 4 data sets data1,data2,data3 and data4. all of them have size of 100 x 2. I want to delete the second column of each data set. I want to use for loop so that it automatically takes data1, followed by data2 and so on.
Additionally, If I want to save names from 1 to 12 e.g if I have 12 data sets and instead of manually assigning names as data1, data2,data3...data 12, I want to use loop for assigning names. thanks
Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!