Functions

f
sub2ind

Converts 2D subscripts to linear indices.