Python, Linear Algebra, Numerical Analysis.
1]] : A = np.array([[2, 0],[0, 1]]) x = np.array([[1],[1]]) b = np.dot(A, x) plot_vect(x,b,(0,3),(0,2)) The result will be : We can see from the generated figure that the original vector x is rotated and stretched longer after transformed by A. The vector [[1], [1]] is transformed to [[2], [1]].