Quick way to import data from multiple subjects into one array?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi. I extract data (for example 10 time points) from each subject which gets saved into a text file which I am able to import into matlab creating a 10 x 1 array. I want to be able to create an array in which the columns represent each subjects data so that it will automatically (assuming 6 subjects) creates a 10 x 6.
I have the imported text files named like performance_sub1, performance_sub2.. etc... I would like an array just called performance with all 6 subjects in that array.
I assume a for loop is needed, but I don't know how to call the numbers after "sub" in my files.
Any help would be appreciated.
Réponses (0)
Voir également
Catégories
En savoir plus sur Cell Arrays 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!