Description Usage Arguments Value Examples
Title Convert a row-column vector to a linear index
| 1 | sub2ind(rowNum, rows, cols)
 | 
| 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 | 
a vector of the linear indices
| 1 | sub2ind(rowNum, rows, cols)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.