Let 'A'and 'I' be n \times n given matrix and identity matrix order n \times n. Define g= @(z) trace(inv(A-z.*I)). Let \Omega be a closed simple Jorden curve in the complex plane. I want to find Integral value of
I = frac{1}{2pi i} int_{\Omega} g(z)dz.. Please help me how should I calculate in matlab. The command "integral(g(z),a,b)" is not working for real case. If possible please explain with example. I will be thanksful for your kind help.