Question 2 Plot the Gershgorin row circles and Gershgorin column circles in two different colours for the matrix 11 1 9 A= | 1 1 0 10 4 -2 Note that MATLAB does not have a built in function for plotting circles. You can make use of this code to plot circles: (1) Listing 1: Matlab script to draw a circle. theta = linspace(0, 2*pi, 100); r = 2; x0 = 1.5; y0 = 0.5; x = r*cos(theta) + x0; y = r*sin(theta) + yo; plot(x, y) Show transcribed image text Question 2 Plot the Gershgorin row circles and Gershgorin column circles in two different colours for the matrix 11 1 9 A= | 1 1 0 10 4 -2 Note that MATLAB does not have a built in function for plotting circles. You can make use of this code to plot circles: (1) Listing 1: Matlab script to draw a circle. theta = linspace(0, 2*pi, 100); r = 2; x0 = 1.5; y0 = 0.5; x = r*cos(theta) + x0; y = r*sin(theta) + yo; plot(x, y)
Expert Answer
Answer to Question 2 Plot the Gershgorin row circles and Gershgorin column circles in two different colours for the matrix 11 1 9 …