title: Matlab: Evaluating 2-argument function into a matrix
body: <p>I have a user-input function that I need to plot in Matlab. This function is passed as a handle.</p>
  
  <p>For a single-argument function, I can easily avoid for cycles—I just create an array of values and apply the function to it.</p>
  
  <p>With a double-argument function (i.e. func(a, b)), I can't figure out how to avoid a for cycle.</p>
  
  <p>What's the most effective way to get a range of values of a function taking two variables as arguments?</p>