Solving Complex Line Integrals
Afficher commentaires plus anciens
Hello everyone!
How to define a circle (e.g. | z-1 |=3) as an integral path using Waypoints?
For example, C here is a square contour:
C = [1+i -1+i -1-i 1-i];
q2 = integral(fun,1,1,'Waypoints',C)
How to define C as a circle?
Or else, how could I define the same circle ( | z-1 |=3) instead of the unit circle in the code below?
g = @(theta) cos(theta) + 1i*sin(theta);
gprime = @(theta) -sin(theta) + 1i*cos(theta);
q1 = integral(@(t) fun(g(t)).*gprime(t),0,2*pi)
Thank you
1 commentaire
darova
le 21 Mar 2021
THe question is unclear. Do you have any picture or something? What are you trying to integrate?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Numerical Integration and Differentiation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!