I search a better writing (without for loop) than the following functionning code.
the code write on the 3rd dimmension of A_delayed wisely to an indice stored in a separate matrice.
For each row,colum of A the 3rd dimmension indice can be different.
for i10=1:row_A for i11=1:colum_A A_delayed(i10,i11,matrice_delay(i10,i11))=A(i10,i11); end end
Thank in advance.
Best Answer