Linear Algebra · Matrices and Linear Transformations · M2-L1 · Beginner
Matrix Transformation Playground
Robot scenario
Scout, the delivery robot, carries a camera that sees the world through a matrix: every pixel direction is turned, stretched or sheared before it reaches the planner. If you can read a matrix as a picture, you can debug the camera.
You will first move a shape with the two columns of a matrix, then catch the classic bug of multiplying in the wrong order, and finally write the code that recovers a matrix from examples and collapses a whole motion script into one matrix.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and lakit (import lakit as la: vectors, matmul, solve, qr, svd, eigh, lstsq, pinv and more; NumPy is not available in the browser). Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.