Matrices Flashcards
What is a vector?
A Parameter with a magnitude and a directioin
What is a row vector?
[1,2]
What is a column vector?
1
2
How are two vectors summed?
By adding the number together
What is a Matrix?
This is a set of vectors arranged in a square
What are the parameters of the size of a matrix and what do they mean?
M and N
> M is the height
> N is the width
How is matrix addition done?
Add the number in the same position on each vector together.
1 2 + 3 2 = 4 4
2 3 4 1 6 4
How does matrix multiplication work?
By multiplying and summing along rows and collumns
a b + v x = av+by ax+bz
c d c d cv+dy cx+dz
Do matrices have to be the same size to multiply?
No
How is the determinant calculated?
ad-bc
a b ==> ad-bc
c d
What is a unit matrix?
This is a matrix that when multiplied by another matrix has no effect on that matrix. Its values is essentially 1
How is a matrix inverted?
e.g. x^-1 where
x = a b
c d
1/Determinent * | d -b |
| -c a |
What is a singular matrix?
This is a matrix where the determinant is zero
Can a singular matrix be inverted?
No
What is matrix transportation?
This is when the matrix is reordered.
a b c ==> a d
d e f b e
c f
What is the standard rotation matrix for 2 dimensions
R(θ) =
cosθ -sinθ
sinθ cosθ
What is required for a matrix to be a rotation matrix?
It must have the form: a -b b a Where a^2 + b^2 = 1 and -1 ≤ a or b ≤ 1
How can a rotation matrix be applied?
It must be multiplied to the matrix which is wanting to be rotated
For a point [x,y] of distance r from the origin, how can this be modelled with 2 equations?
x = rcos(θ) y = rsin(θ)
For a vector [x,y] of length r (from the origin),what are the two equations for each dimension that can be made for the rotation of this vector?
x = rcos(θ+ϕ) y = rsin(θ+ϕ)
What is revolute?
This is the angle of the rotation link relative to the horizon plane.
What is the revolute equation for the position of the end effector connected to a link of length L with a joint of angle θ relative to the horizontal?
Lcosθ
Lsinθ
What does prismatic mean?
This is when the length of the link changes by a factor of T
What is the prismatic equation for for the position of the end effector connected to a link of changing length L by a factor of T with a joint of angle θ relative to the horizontal?
L(T)cosθ
L(T)sinθ