Numerical solution for convolution integral

12 views (last 30 days)
Hi, I need to solve numerically the attached double integral, where x1 and x2 are variables, a is constant. x1 comprises the boundary of the first integration.
Can someone suggest how to do this?
Best Regards,

Accepted Answer

Torsten
Torsten on 14 Feb 2017
Edited: Torsten on 14 Feb 2017
a=...;
L=...;
fun=@(x,y)(0.5*x.^3+x.^2).*exp(-x/a).*(0.5*y.^3+y.^2);
upper_y=@(x)x;
q=integral2(fun,0,L,0,upper_y);
Best wishes
Torsten.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!