title: running a function on each cell in a matrix, knowing the index a cell, without using loops
body: <p>I have a function F that receives an 2D index (i and j) and a constant array C. I want to run this function on each cell in a matrix, meaning - in the (i,j) cell I'll have the value F(i,j,C).</p>
  
  <p>Is there a way to do it in matlab without using loops?</p>