How to find match of elements and extract matrix
<pre><code>A=[

17    24     1     8    15
23     5     7    14    16
 4     6    13    20    22
10    12    19    21     3
11    18    25     2     9
26    17    24     3     4]

b= 23;
C= 11;
</code></pre>

<p>Now, 1st column of matrix <code>A</code> must be check to find any element matches with inputs <code>b</code> and also <code>c</code>. Then, to get matrix </p>

<pre><code>D= 

23     5     7    14    16
 4     6    13    20    22
10    12    19    21     3
11    18    25     2     9
</code></pre>