Indice wise reference of indice from another matrix
1 view (last 30 days)
Show older comments
Valerian Cinçon
on 25 Mar 2019
Commented: Valerian Cinçon
on 25 Mar 2019
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.
4 Comments
More Answers (0)
See Also
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!