weird Problem with dblquad
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Numerical Integration and Differentiation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!