Skip to contents

Convert a linear subscript to matrix subscripts

Usage

ind2sub(x, ind)

Arguments

x

2D object.

ind

Numeric value with linear subscript.

Value

2D array with row and column subscripts.