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)

Contact us