MATLAB: Double integral (HELP)

integral

Help me to find the anwser using matlab please.

Best Answer

You can pass limits on variable x as a function handle
f = @(y,x) exp(x.^2);
y = integral2(f, 0, 1, @(y) y, 1);
Result
y =
0.8591