From: dpb on
Samuel wrote:
....

> I would like to take out subA=(11, 12; 15, 16), so i=3, j=3, m=2, and
> n=2. I get the message index is out of bounds. Which I am assuming is
> because there is not 5 rows in my current A.

Oleg corrected the typo for your sample case but for robustness you'll
undoubtedly want to include error checking on you function inputs.

doc size % and friends

may be found useful...

--