sub2ind: Title Convert a row-column vector to a linear index

Description Usage Arguments Value Examples

Description

Title Convert a row-column vector to a linear index

Usage

1
sub2ind(rowNum, rows, cols)

Arguments

rowNum

nuber of rows in the data matrix

rows

a vector containing the rows of the converted items

cols

a vector containing the columns of the converted items

Value

a vector of the linear indices

Examples

1
sub2ind(rowNum, rows, cols)

lindsaysmoore/cellAlign documentation built on May 29, 2019, 3:42 a.m.