weird Problem with dblquad
이전 댓글 표시
Hi,
q = dblquad(@(theta1,phi1) Fnum3(ro,phi,z,theta1,phi1,k) ,0,1.99*pi ,0,0.1)
im trying to use dblquad to integrate over a function and with
some parameters i get those messages in a loop
for example when the parameter k is very large number
~k=1.2e+007
or when the integral bounderies is larger then some numbers
Warning: Maximum function count exceeded; singularity likely.
> In quad at 106
In dblquad>innerintegral at 84
In quad>quadstep at 126
In quad>quadstep at 167
In quad>quadstep at 167
In quad>quadstep at 167
In quad>quadstep at 167
In quad>quadstep at 167
In quad at 92
In dblquad at 60
In A2 at 16
does anyone knows a solution?
in new Matlab versions (not in mine)there is a function - integrate2, what is the difference between it and dblquad?
* * * i forgot to mention when running the handle Fnum3 with those parameters it works fine.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!