Double integration with inner integration contains variables
显示 更早的评论
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!
回答(1 个)
Torsten
2015-4-28
syms x y
firstint=int(x,x,y-1,y+1);
answer=int(firstint,y,0,Inf)
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!