Double integration with inner integration contains variables
3 views (last 30 days)
Show older comments
I am trying to do the numerical integration with two integrals. the limits of the inner integration contains the variables that will be integrated out in the next integration. For example, I am integrating the following
int^{inf}_{0}(int^{y+1}_{y-1}(x)dx)dy
How can I enter this in MATLAB
Thanks in advance!
0 Comments
Answers (1)
Torsten
on 28 Apr 2015
syms x y
firstint=int(x,x,y-1,y+1);
answer=int(firstint,y,0,Inf)
Best wishes
Torsten.
0 Comments
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!