how to calculate complex integration along a closed curve.

12 views (last 30 days)
Let I = \frac{1}{2pi i} \int_{gamma} f(z)dz. I have to find the numerical value of I with help of matlab. What is is the procedure (command )to evaluate I.
  2 Comments
Jibrail Ali
Jibrail Ali on 8 Aug 2019
f(z) is complex values function with a domain containg the curve \gamma. I am talking about general function and general closed curve.

Sign in to comment.

Accepted Answer

Torsten
Torsten on 8 Aug 2019
Edited: Torsten on 8 Aug 2019
I = 1/(2*pi*1I) * integral_{t=0}^{t=T} f(z(t))*z'(t) dt
where z(t) is a parametrization of gamma.
The last integral can numerically be evaluated using MATLAB's "integral" function.
For an example, see
https://de.mathworks.com/help/matlab/math/complex-line-integrals.html

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!