%This code creates a multivariate function of your choosing which can be %passed into other functions. The function below is of the form %f(x1,x2)=x1^2+x2^3. Written by Philip Shaw, Fordham University, 2018. function[fx]=myfun(x) fx=x(1)^2+x(2)^3;