Computational Physics, Linear Algebra, Python, Math, Matrix.
plt.ylim(-1.5, 1.5) plt.show() print('Scaling:') matrixToPlot(np.diag(D).dot(V)) plt.xlim(-9, 9) plt.ylim(-9, 9) plt.show() print('Second rotation:') matrixToPlot(U.dot(np.diag(D)).dot(V)) plt.xlim(-8, 8) plt.ylim(-8, 8) plt.show() Unit Circle First Rotation Scaling Second Rotation Just to be sure,