lass="dv">3</span>, <span class="dv">4</span>] m2;</span>
<span id="cb21-10"><a href="#cb21-10" aria-hidden="true" tabindex="-1"></a>m2 = m[<span class="dv">1</span>:<span class="dv">3</span>, <span class="dv">2</span>:<span class="dv">5</span>];  <span class="co">// result is 3 x 4</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>The key is realizing that any position with a multiple index or bounded index remains in play in the resul