title: How to find the Jacobian of my function in Matlab?
body: <p>I have the following function in Matlab:</p>
  
  <pre><code>f = @(x)[x(1,:)+2*x(2,:)+x(3,:);x(1,:).^3+x(2,:).^2+3*x(3,:)]
  </code></pre>
  
  <p>How can I find the Jacobian matrix of this function in Matlab?</p>
  
  <p>I have tried using the function jacobian, but I don't get it to work for this specific function. Can someone help me with the correct arguments?</p>