


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























Lecture 08:
1 apple 1 can of soup 1 box of tissue 1 bag of chips
Stop and Shop $0.20 $0.93 $0.64 $1. Shawโs $0.65 $0.82 $0.75 $1. Trader Joeโs $0.95 $1.10 $0.52 $3. Whole Foods $1.15 $0.20 $1.25 $2.
q1 q2 q3 q A $0.20 $0.93 $0.64 $1. B $0.65 $0.82 $0.75 $1. C $0.95 $1.10 $0.52 $3. D $1.15 $0.20 $1.25 $2.
๐ 1 = ๐ ๐ 2 = ๐ ๐ 3 = ๐ ๐ 4 = ๐
Total_A = (0.2 * 6) + (0.93 * 5) + (0.64 * 1) + (1.20 * 2) = 8.
๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ด ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ต ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ถ ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ท
=
0.20 0.93 (^) 0.64 1. 0.65 0.82 (^) 0.75 1. 0.95 1.10 (^) 0.52 3. 1.15 0.20 (^) 1.25 2.
6 5 1 2
๐ฟ = ๐๐
๐๐ฅ๐ฅ ๐๐ฅ๐ฆ ๐๐ฅ๐ง ๐๐ฅ๐ค ๐๐ฆ๐ฅ ๐๐ฆ๐ฆ ๐๐ฆ๐ง ๐๐ฆ๐ค ๐๐ง๐ฅ ๐๐ง๐ฆ ๐๐ง๐ง ๐๐ง๐ค ๐๐ค๐ฅ ๐๐ค๐ฆ ๐๐ค๐ง ๐๐ค๐ค
=
๐๐ฅ๐ฅ ๐๐ฅ๐ฆ ๐๐ฅ๐ง ๐๐ฅ๐ค ๐๐ฆ๐ฅ ๐๐ฆ๐ฆ ๐๐ฆ๐ง^ ๐๐ฆ๐ค ๐๐ง๐ฅ ๐๐ง๐ฆ ๐๐ง๐ง ๐๐ง๐ค ๐๐ค๐ฅ ๐๐ค๐ฆ ๐๐ค๐ง ๐๐ค๐ค
๐๐ฅ๐ฅ ๐๐ฅ๐ฆ ๐๐ฅ๐ง ๐๐ฅ๐ค ๐๐ฆ๐ฅ ๐๐ฆ๐ฆ ๐๐ฆ๐ง^ ๐๐ฆ๐ค ๐๐ง๐ฅ ๐๐ง๐ฆ ๐๐ง๐ง ๐๐ง๐ค ๐๐ค๐ฅ ๐๐ค๐ฆ ๐๐ค๐ง ๐๐ค๐ค
๐๐ฅ๐ฆ = ๐๐ฅ๐ฅ๐๐ฅ๐ฆ + ๐๐ฅ๐ฆ๐๐ฆ๐ฆ + ๐๐ฅ๐ง๐๐ง๐ฆ + ๐๐ฅ๐ค๐๐ค๐ฆ
(^1 0 0 ) (^0 1 0 ) (^0 0 1 ) (^0 0 0 )
๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ด ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ต ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ถ ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ท
=
(^1 0 0 ) (^0 1 0 ) (^0 0 1 ) (^0 0 0 )
6 5 1 2
=
6 5 1 2
๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ด ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ต ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ถ ๐ก๐๐ก๐๐๐ถ๐๐ ๐ก๐ท
=
(^2 0 0 ) (^0 2 0 ) (^0 0 2 ) (^0 0 0 )
6 5 1 2
=
12 10 2 4
only affecting the first value of the result
Matrix Multiplication Explained
(Visually)
1 1 1 2
, and we want to know what itโll do to a 2D point.
vectors, the x-axis and the y-axis: 1 1 1 2
1 0
=
1 1
1 1 1 2
0 1
=
1 2
transformed using our matrix
Matrix Multiplication Explained
(Visually)
Transformations in Computer Graphics