https://fr.mathworks.com/help/matlab/ref/sub2ind.html
sub2ind - Convert subscripts to linear indices - MATLAB
This MATLAB function returns the linear indices ind corresponding to the row and column subscripts in row and col for a matrix of size sz.
convertlinearindicesmatlab
https://es.mathworks.com/help/matlab/ref/sub2ind.html
sub2ind - Convert subscripts to linear indices - MATLAB
This MATLAB function returns the linear indices ind corresponding to the row and column subscripts in row and col for a matrix of size sz.
convertlinearindicesmatlab
https://uk.mathworks.com/matlabcentral/answers/107658-sub2ind-m-trying-to-use-with-a-2d-matrix?s_tid=prof_contriblnk
sub2ind.m -- trying to use with a 2D matrix - MATLAB Answers - MATLAB Central
sub2ind.m -- trying to use with a 2D matrix. Learn more about sub2ind
with a