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 wishesTorsten. Related SolutionsMATLAB: Complex closed contour integral fun=@(z)(z+1)/(z^3-2*z^2); g=@(theta)2+cos(theta)+1i*sin(theta);gprime=@(theta)-sin(theta)+1i*cos(theta);q1 = integral(@(t) fun(g(t)).*gprime(t),0,2*pi)Best wishesTorsten. MATLAB: Closed contour integral complex You need a 'dot' in the definition of 'fun': fun=@(z) (z)./((z.^2+4).*(z-1));The message "Error using ==> mtimes" is the clue to that difficulty. Related QuestionPlease can anyone help me about this equation. theta value is 0 to 2piStrange behavior of diff function with symbolic variables
Best Answer