command "integral(g,a,b)" is not working

1 view (last 30 days)
Jibrail Ali
Jibrail Ali on 13 Sep 2019
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.

Answers (1)

Naveen Venkata Krishnan
Naveen Venkata Krishnan on 10 Oct 2019

Community Treasure Hunt

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

Start Hunting!