<< imag | Elementary functions | invhilb >> |
[row, col] = ind2sub(sz, ind) |
[I1, I2, ..., In] = ind2sub(sz, ind) |
size of array: vector of positive integers.
linear indices.
row subscripts.
column subscripts.
multidimensional subscripts.
ind2sub converts linear indices to subscript.
ind = [4 5 6 7];
sz = [4 4];
[row,col] = ind2sub(sz,ind)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET