I have a list of doubles, 2 x n x m. I tried a 'for' loop with something like this:
new_list_1 = [] for i = 1:n for ii = 1:m new_list_1(i,ii) = original(1,i,ii) end endnew_list_2 = [] for j = 1:n for jj = 1:m new_list_2(j,jj) = original(2,j,jj) end end
I can't think of a way to do this, many thanks.
Best Answer