Multiple integral problem (integral3)
1 view (last 30 days)
Show older comments
I am trying to integrate the following function
f_1=((D_1.^(-1i.*x-R_1)).*(D_2.^(-1i.*y-R_2)).*(F.^(1-1i.*z-R_3)))./((-x+1i.*R_1).*(-y+1i.*R_2).*(-1i.*z-R_3).*(1-1i.*z-R_3));
f_2=exp(-1i.*(x.*s_1+y.*s_2+z.*s_3));
f_3=f_1.*f_2;
fun=@f_3;
result=integral3(@(x,y,z)fun(x,y,z,D,R),m,M,m,M,m,M)
from m=-10 to M=+10 for each variable x, y and z. The vectors D and R have just constants inside. However the Matlab is not able to perform the integration. I obtain the warning regarding the maximum number of iterations. I have tried to use the "iterated" method but it takes so long that I have to stop it before it finishes. Does anybody here know why would that happen. I am guessing it has to do with the singularities of the function. But, then what can be done about it?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!