title: Defining function in matlab which uses a function as a parameter
body: <p>I want to define a function like this:</p>
  
  <pre><code>function f = f1(fun,a,b,c)
  f = c*fun(a+b);
  </code></pre>
  
  <p>Here <code>fun</code> is some function that I will pass when I use the function <code>f</code>.
  How can I do this in Matlab?</p>