How can I use the data of a set of matrices labelled in order
Hi, I managed to open all files in a folder which leaves me with the matrices data_1, data_2, data_3 …..data_n.
Now I want to add one of the row from each of the n matrices into one single set of data but I don’t know how i can address the matrix in a for loop.
for i=1:1:n
ag((((i-1)*n)+1):i*ni)=data’i’;
endHi, I managed to open all files in a folder which leaves me with the matrices data_1, data_2, data_3 …..data_n.
Now I want to add one of the row from each of the n matrices into one single set of data but I don’t know how i can address the matrix in a for loop.
for i=1:1:n
ag((((i-1)*n)+1):i*ni)=data’i’;
end Hi, I managed to open all files in a folder which leaves me with the matrices data_1, data_2, data_3 …..data_n.
Now I want to add one of the row from each of the n matrices into one single set of data but I don’t know how i can address the matrix in a for loop.
for i=1:1:n
ag((((i-1)*n)+1):i*ni)=data’i’;
end data set, variables MATLAB Answers — New Questions