MATLAB: Numerical integration of a function of two variables integrationMATLAB Suppose I have a function f defined on [0,1]^2 -> R and I want to numerically evaluate \int_{[0,1]^2} f(x,y)dxdy Please advise how to proceed. Best Answer integral2(@f, 0, 1, 0, 1) Related SolutionsMATLAB: Integration in MATLAB with symbolic integration limits syms xy=x^2f=int(y,1,x) % integration between 1 and x MATLAB: Numerical integration using quad function hi , try : >>F=@(x) sqrt(x); >>I=quad(F,0,10) Related QuestionNumerical integrationNumerical integrationHow to do integrationNumerical Integration
Best Answer