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!