image thumbnail

updated 4 years ago

SUB2IND4UP Linear index from subscripts of upper triangular matrix (only elements above diagonal) by Francesco Pozzi

Single index for given subscripts of a 2D upper matrix, (no elements over the diagonal) (subscripts, linear indexes, vector)

sub2ind4up(I, J)

image thumbnail

updated 4 years ago

IND2SUB4UP Subscripts from linear index for upper triangular matrix (only elements above diagonal) by Francesco Pozzi

Subscripts from a given single index for a 2D upper matrix (no elements over the diagonal) (subscripts, linear indexes, vector)

ind2sub4up(IND)

Contact us