I have a problem when doing nested integral. the case is like this:
int_fun = @(x) integral(@(y) x + y, 0, 1);result = integral(@(x) int_fun(x), 1, 100);
this will shows the error matrix dimension must agree at the x + y part. how should i solve this error?
Thanks
Best Answer