How to write a for statement for multiple .mat files?
Mostrar comentarios más antiguos
I have 6 .mat files each with different file names. I am able to import them into the workspace but I am having difficulty figuring out how I am supposed to run analyses on particular columns or rows for each .mat file in succession.
For instance, with something like this, I don't know what I'm supposed to do in order to have TrialNum equal all the values of the first column for each .mat file.
for i=1:6
TrialNum = %all the values for the 1st column of each .mat file
end
I apologize for the basic question, I'd really appreciate any help!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!