Book
Linear Algebra
Author
Gilbert Strang
Edition
print "Plotting a graph when a matrix is given" A=matrix([[-1,1,0,0],[-1,0,1,0],[0,1,0,-1],[0,0,-1,1]]) print "Given Matrix is: A=\n",A print "Graph for the given matrix A can be plotted using plot() function as:" plot(A) Result: Plotting a graph when a matrix is given Given Matrix is: A= [-1 1 0 0] [-1 0 1 0] [ 0 1 0 -1] [ 0 0 -1 1] Graph for the given matrix A can be plotted using plot() function as:
Solution by:
<T.R.N.Karthik>, <Student>, <Gitam University>