title: i want to find the location of a number in a matrix in matlab
body: <p>I have a matrix lets say</p>
  
  <pre><code>x =
   2     2     3
   4     3     2
   6     4     8
  </code></pre>
  
  <p>now I want to get the location of a number 4.<br>
  I want <code>ans</code> like this :</p>
  
  <pre><code>ans=(2,1) (3,2)
  </code></pre>
  
  <p>as these are the locations for 4 in matrix.</p>