Skip to contents

Convert matrix subscripts to a linear subscript

Usage

sub2ind(x, i, j)

Arguments

x

2D object.

i

Reference row.

j

Reference column.

Value

Numeric value with linear subscript.