integration using quadgk() in the complex plane
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I am trying to do an integration in the complex plane, and the upper limit of interval need to be complex infinity. But when I try to use quadgk(Fun,2,1i*inf), I will get the following message:
??? Error using ==> quadgk at 153 Contour endpoints and waypoints must be finite.
Can anyone help?
0 comentarios
Respuestas (1)
Mike Hosea
el 3 de Abr. de 2012
I'm going to assume this is a homework problem. Complex integrals generally depend on the path chosen. Here you want to go from 2+0i to the 0+inf*1i, but what path do you intend to take? Define a path that is parameterized by a real variable, substitute into your complex path integral, and evaluate the resulting integral (which will be over a real interval).
2 comentarios
Bjorn Gustavsson
el 4 de Abr. de 2012
If I recall my complex analysis (doubtful about the time-waste to type...) you have to look at the poles of your functions and choose the integration paths with their position in mind.
Ver también
Categorías
Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!