MathToolsforNeuroscience icon indicating copy to clipboard operation
MathToolsforNeuroscience copied to clipboard

Week2Tutorial1 Exercise 2 Matrix inverse transformation error

Open etherealsunshine opened this issue 1 year ago • 0 comments

Thank you for the course, it's really helpful!

There's a minor typo in the code for plotting the transformation of A and then the additional transformation of 𝐴−1

A = np.array([[1,2], [2,1]])
A_inv = np.linalg.inv(M)
plot_linear_transformations(A, A_inv)

where M is not defined and it should be:

A = np.array([[1,2], [2,1]])
A_inv = np.linalg.inv(A)
plot_linear_transformations(A, A_inv)

etherealsunshine avatar Jun 03 '24 05:06 etherealsunshine