Plate5
Unit 1 · Topic 5 of 11
Matrix transformation
Medium, 7 min, 6 steps
Step 1 of 6 Shape
A shape and two unit arrows
On the plane there is a small house and two unit arrows: i = (1, 0) and j = (0, 1). Where these two go decides what the matrix does.
M = [[1.0, 0.6],[0.0, 1.0]]ev = [(0, 0), (1, 0), (1, 0.7),(0.5, 1.1), (0, 0.7)]yeni = [(M[0][0] * x + M[0][1] * y,M[1][0] * x + M[1][1] * y)for x, y in ev]det = (M[0][0] * M[1][1]- M[0][1] * M[1][0])
- a
- 1
- b
- 0.60
- c
- 0
- d
- 1
- det
- 1