## 02psps-02 Question 6 Help

• 0:00 - 0:02
Now I want to talk about the H matrix.
• 0:02 - 0:05
This is a matrix that takes a state, and when it multiplies
• 0:05 - 0:08
by that state, spits out a measurement.
• 0:08 - 0:11
Remember, we can only directly measure position and velocity,
• 0:11 - 0:14
so that's all we want the H matrix to keep.
• 0:14 - 0:19
Again, I want to talk about the 2D lecture case and the 4D homework case.
• 0:19 - 0:21
Hopefully, by comparing them, we'll be able to build some intuition,
• 0:21 - 0:24
and you'll be able to answer the homework.
• 0:24 - 0:26
What was the goal of the H matrix?
• 0:26 - 0:31
The goal of the H matrix was to take some state--
• 0:31 - 0:35
in the 2D case, our state was represented as an x and an ẋ--
• 0:35 - 0:41
multiply some matrix by that state in such a way that we extract a measurement.
• 0:41 - 0:48
In the 2D case the measurement was just x--just the x coordinate.
• 0:48 - 0:52
We can think of this as a 1 x 1 vector or a 1 x 1 matrix.
• 0:52 - 0:56
• 0:56 - 1:01
That was our H matrix--1, 0--because 1 times x gives us the x,
• 1:01 - 1:05
and 0 times ẋ gives us the nothing--exactly what we want.
• 1:05 - 1:08
But now let's talk about the dimensionality of these matrices
• 1:08 - 1:13
and how this multiplication yielded just this number x.
• 1:13 - 1:20
So we can think of x here as a 1 x 1 matrix.
• 1:20 - 1:24
We got that matrix by multiplying this one, which is a 1 x 2--
• 1:24 - 1:31
one row by two columns--with this, which is two rows by one column.
• 1:31 - 1:36
What we see here is that this 1 actually came from right here,
• 1:36 - 1:40
and this 1 came from right here.
• 1:40 - 1:43
These 2s we can think of as canceling out, in a way,
• 1:43 - 1:46
giving us this 1 x 1 matrix.
• 1:46 - 1:50
Now, let's see if we can generalize that to the 4-dimensional case as presented in the homework.
• 1:50 - 1:58
In the 4-dimensional case our state is now given by x, y, ẋ, ẏ.
• 1:58 - 2:00
We're going to have some H matrix.
• 2:00 - 2:05
I don't know anything about it yet, but I'm just going to put this there for now as a placeholder.
• 2:05 - 2:09
We want to get a measurement from that. What should this measurement be?
• 2:09 - 2:13
It's not just going to be x, because now our position includes both x and y.
• 2:13 - 2:19
So it's going to be a column vector--x and y.
• 2:19 - 2:23
Again, let's think. What's going on with the dimensionality here?
• 2:23 - 2:26
Here we have a 2 x 1 matrix,
• 2:26 - 2:32
and that came from this matrix, which I said we don't know anything about yet--
• 2:32 - 2:35
I'll just say a question mark by question mark--
• 2:35 - 2:40
and this matrix, which is four rows by one column.
• 2:40 - 2:44
Now, can you use the intuition we built up here
• 2:44 - 2:51
for how the dimensionality of matrices works with this to fill in the question marks?
• 2:51 - 2:56
Once you figure out the number of rows and the number of columns in this H matrix,
• 2:56 - 2:59
figuring out where to put your 1s and 0s will be a little bit easier.
• 2:59 -
I wish you luck.
Title:
02psps-02 Question 6 Help
Description:

dummy description

more » « less
Team:
Udacity
Project:
CS373 - Artificial Intelligence
Duration:
03:02