Do you know how to calculate a double integral in MATLAB when the
inner integral limits are themselves functions of the outer variable?
Considering that I don't want to change the variables.
syms x y
f=inline('x.^2 + y.^2')
int(int(f(x,y),0,exp),0,1)
2. use function 'dblquad', but you need to redefine your function f(x,y) in the rectangle which includes your original integration range. In the additional part, you define f(x,y)=0.