How to write a for statement for multiple .mat files?
이전 댓글 표시
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!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!