How can I create variables in a loop assigning matrix values in a .dat file?
Afficher commentaires plus anciens
I have a series of .dat files (files_i, with i=1,...,6) consisting of an mxn matrix, and want to create vectors t_i such that the i-th vector takes the 1st column of the i-th file (t_1 = files_1(:,1), t_2 = files_2(:,1)), and so on.
I would like to do that in a loop, but can't find an efficient way to do so.
Any ideas? Thanks in advance
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!