I want to compute $$\int_0^1\int_0^{1-x}f(x,y)\:{\rm d}y\:{\rm d}x$$ numerically using MATLAB R2012b. I wasn't able to figure out how I need to deal with the dependency on the first variable in the inner integral.
So, how do I need to do this?
integral2
integral2(which allows the outer integral bounds to be functions)? – horchler Apr 05 '17 at 22:37