title: MATLAB : How to set matrix by matrix of index?
body: <p>I'd like to ask how can I set in MATLAB matrix :</p>
  
  <p>|1 4 5|<br>
  |2 9 1| =A,<br>
  |5 1 3| </p>
  
  <p>|1 3 2|<br>
  |2 1 3| =INDEX, it says which positions should placed elements of matrix A<br>
  |3 2 1| </p>
  
  <p>Like this : ( it will be an output ) </p>
  
  <p>|1 5 4|<br>
  |9 2 1| =MATRIX,<br>
  |3 1 5| </p>
  
  <p>I'll be glad to have an answer :) Thank you</p>