Functions

f
ind2sub

Converts linear index to row and column subscripts.