MATLAB: Plz help me ….complex contour integral

I answers integral ∮e^2z/((1+z)^4 ) dz around|z|=2 ,I answer it by using cauchy integral.. how can I answer it by using matlab ?? plz help me , I need to your help ,thank you every one

Best Answer

fun=@(z)exp(2*z)/(1+z)^4;
g=@(theta)2*cos(theta)+1i*2*sin(theta);
gprime=@(theta)-2*sin(theta)+1i*2*cos(theta);
q1 = integral(@(t) fun(g(t)).*gprime(t),0,2*pi)
Best wishes
Torsten.