Hi everybody, I wrote this code but it's seems that it has some problems. Could you help me figure out my mistakes? Thank you!
A=[1,2,5,4,1,2,3,6; 1,4,5,6,0,0,0,0;2,3,2,5,6,0,0,0]; nsim=3;M=6;TRI=zeros(M,M,nsim);k=1;while(k<3)m=1;while(m<length(A(1,:)))TRI(A(k,m),A(k,m+1),k)++;m++;endk++;end
Best Answer