IRIS Toolbox Reference Manual

## select

Select submatrix by referring to row names and column names

#### Syntax

    [X,Pos] = select(This,RowSelect,ColSelect)
    [X,Pos] = select(X,Select)

#### Input arguments

- `X` [ namedmat ] - Matrix or array with named rows and columns.

- `RowSelect` [ char | cellstr ] - Selection of row names.

- `ColSelect` [ char | cellstr ] - Selection of column names.

- `Select` [ char | cellstr ] - Selection of names that will be applied to both rows and columns.

#### Output arguments

- `X` [ namedmat ] - Submatrix with named rows and columns.

- `Pos` [ cell ] - `Pos{1}` is the vector of rows included in the submatrix `X`, `Pos{2}` is the vector of columns included in the submatrix `X`.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.