1
00:00:03,760 --> 00:00:08,300
In this video, we're going to investigate the Jokowi matrixes and actually define what they are.

2
00:00:08,800 --> 00:00:16,620
So the Jacobean matrix is I am by and matrix for the function f x, whose elements are the partial derivatives

3
00:00:16,630 --> 00:00:21,250
of the M outputs of the function with respect to the end inputs of the function.

4
00:00:21,910 --> 00:00:28,300
So what that means is if we have a function here, takes a input vector and it produces an output vector,

5
00:00:28,930 --> 00:00:32,190
the input vector X is going to have an inputs.

6
00:00:32,500 --> 00:00:37,360
So we're going to have a vector with one, two, three all the way up to any inputs and the function

7
00:00:37,360 --> 00:00:40,080
F is going to output M outputs.

8
00:00:40,080 --> 00:00:47,860
So I can say we have these F1, F2 or up to M outputs now that you come in of this function can be written

9
00:00:47,860 --> 00:00:48,320
like this.

10
00:00:48,700 --> 00:00:54,670
So if we look here we can see that the size of this matrix here, we're going to have M outputs down

11
00:00:54,670 --> 00:00:54,990
here.

12
00:00:55,000 --> 00:00:59,650
So we're going to have F1, F2 all the way down to form a partial derivatives.

13
00:01:00,100 --> 00:01:05,700
And then across the top here, we're going to have the end inputs so we can see we have x1 X to adapt

14
00:01:05,770 --> 00:01:10,810
X and so we have the partial derivative of x1 x2 all the way up to X.

15
00:01:10,810 --> 00:01:17,110
And so we can pretty much say that each of the elements inside this matrix follows this relationship

16
00:01:17,110 --> 00:01:17,450
here.

17
00:01:17,980 --> 00:01:24,130
So the IJA element of this matrix here is going to be the partial derivative of the output.

18
00:01:24,130 --> 00:01:27,610
If I with respect to the input state x j.

19
00:01:29,230 --> 00:01:35,020
So now linking this to the process model state Jacobean, the previous model gave you an F is simply

20
00:01:35,020 --> 00:01:41,890
the curbing of the process model given by this equation here with respect to the state vector X and

21
00:01:41,890 --> 00:01:45,370
it's evaluated about the current best estimate, state X.

22
00:01:46,180 --> 00:01:52,240
So the Matrix is going to be attained by a matrix where the N is a number of states inside this function

23
00:01:52,240 --> 00:01:52,590
here.

24
00:01:53,230 --> 00:01:58,420
So we can say the F matrix is going to be the Jacobean matrix and it's just going to be the partial

25
00:01:58,840 --> 00:02:03,250
derivative of the state transition matrix f with respect to different states.

26
00:02:03,580 --> 00:02:08,500
And we're going to evaluate this around the current best estimate X.

27
00:02:10,740 --> 00:02:15,960
We can also say the same for the process model noise, Cobian, so the process model noise you Cobian

28
00:02:15,960 --> 00:02:21,540
in for the ill is simply the Jakobsson of the process model shown here with respect to noise.

29
00:02:21,540 --> 00:02:26,940
Victus with respect to this factor here, and again, it's going to be evaluated about the current best

30
00:02:26,940 --> 00:02:28,020
estimate of the state.

31
00:02:28,020 --> 00:02:29,400
So X, K minus one.

32
00:02:29,400 --> 00:02:32,370
So we're going to evaluate it around this position here.

33
00:02:33,240 --> 00:02:40,320
So the process model you Cobian is going to be in biometrics where N is a number of states and L is

34
00:02:40,330 --> 00:02:41,940
number of noise components.

35
00:02:42,330 --> 00:02:46,950
So looking at the definition here, we can say that L is the process model Noge Cobian.

36
00:02:47,040 --> 00:02:53,250
So it's the Jakobsson of the process model f respect to the noise input w so it is a partial derivative

37
00:02:53,250 --> 00:03:00,060
of f respect to w evaluated at where X is equal to the best current state estimate.

38
00:03:00,840 --> 00:03:03,270
So now let's actually have a look at more of an example.

39
00:03:03,300 --> 00:03:08,580
So if we have an example for the process model state Jacobean, we have the process model that we've

40
00:03:08,580 --> 00:03:15,810
been looking at showing here and now we want to work out the Jacobean of this process model with respect

41
00:03:15,810 --> 00:03:17,480
to the state vector X.

42
00:03:17,970 --> 00:03:23,280
So we're saying that we can form the state Eucumbene by differentiating the output with respect to different

43
00:03:23,280 --> 00:03:24,060
input states.

44
00:03:24,480 --> 00:03:28,290
So we can say in this matrix here we have the different outputs.

45
00:03:28,300 --> 00:03:31,170
So we have V.K. Sike p.

46
00:03:31,170 --> 00:03:32,610
S p y.

47
00:03:32,610 --> 00:03:34,010
So that's the different states here.

48
00:03:34,530 --> 00:03:38,840
And then we have the partial derivatives with respect to the states across the top as well.

49
00:03:38,850 --> 00:03:45,400
So we have the V K minus one side, minus one minus one, P Wykeham minus one.

50
00:03:45,630 --> 00:03:47,800
So these are going to be the input states.

51
00:03:47,800 --> 00:03:49,430
So that's going to be this time here.

52
00:03:50,190 --> 00:03:54,060
So basically we can evaluate each of these individual terms.

53
00:03:54,670 --> 00:04:00,240
So we go back to our process model equations so we can actually write this out as expanded set of equations.

54
00:04:01,480 --> 00:04:02,780
So we get these equations here.

55
00:04:03,160 --> 00:04:08,500
So now if we want to work out the different terms, the equations, we can actually differentiate these

56
00:04:08,500 --> 00:04:12,220
equations, define these terms here so we can say that this is the output.

57
00:04:12,220 --> 00:04:15,200
V.K., with respect to the input, V.K. minus one.

58
00:04:15,640 --> 00:04:21,400
So that's basically saying we want to take this equation here for V.K. and differentiate it with respect

59
00:04:21,400 --> 00:04:22,800
to our V.K. minus one.

60
00:04:23,350 --> 00:04:28,180
And if we do that, we can see that derivative or this is simply just going to be one we can do the

61
00:04:28,180 --> 00:04:29,250
same thing with this time here.

62
00:04:29,260 --> 00:04:32,740
So we differentiate the same equation with respect to six minus one.

63
00:04:33,190 --> 00:04:36,150
So I differentiate this work with respect to CYB minus one.

64
00:04:36,550 --> 00:04:38,780
We can see that we don't have any of that time there.

65
00:04:38,800 --> 00:04:39,840
So it's going to be zero.

66
00:04:40,210 --> 00:04:46,240
And the same thing here is going to be zero and going to be zero here because these terms do not apply

67
00:04:46,240 --> 00:04:47,200
this equation here.

68
00:04:47,920 --> 00:04:53,590
So if we do this for all the different elements inside this Jacobean here, we end up with this Jacobean

69
00:04:53,590 --> 00:04:54,270
matrix here.

70
00:04:54,730 --> 00:05:00,730
And you can see that the when we actually evaluate this Jacobean, we're evaluating it around a current

71
00:05:00,730 --> 00:05:06,670
state estimate so we can see that we have these nonlinear timesaver cosmic minus one.

72
00:05:07,030 --> 00:05:14,320
So this is what it means when we evaluate it around our ICSC minus one every time that we change a current

73
00:05:14,320 --> 00:05:15,070
state estimate.

74
00:05:15,100 --> 00:05:20,830
So this that here we're gonna have to re update the Giacobbe matrix because these elements inside the

75
00:05:20,880 --> 00:05:22,150
describing are going to change.

76
00:05:24,870 --> 00:05:27,940
And we can do the similar prices for the noisy Caribbean as well.

77
00:05:28,200 --> 00:05:31,020
And again, we have exactly the same price, this model.

78
00:05:31,320 --> 00:05:35,670
But now we want to work out that you came in with respect to the noise components shown here.

79
00:05:36,240 --> 00:05:40,310
So the president's model noised Caribbean is can be written like this.

80
00:05:40,320 --> 00:05:46,370
We have the different outputs so we can see CapEx KPK.

81
00:05:46,650 --> 00:05:50,720
So these are the so these are the outputs of the process model.

82
00:05:51,240 --> 00:05:56,400
And then across the top here, we have the different input derivatives that we want to differentiate

83
00:05:56,440 --> 00:05:57,090
respect to.

84
00:05:57,100 --> 00:05:59,040
So we have the different noise vector components.

85
00:05:59,220 --> 00:06:07,170
So we have all the noise for I've lost a noise for our heading, a noise for our position on noise for

86
00:06:07,380 --> 00:06:08,580
our Y position.

87
00:06:08,590 --> 00:06:09,820
So this vector here.

88
00:06:10,920 --> 00:06:15,370
So this Jakobsson here is going to be pretty simple to calculate.

89
00:06:15,390 --> 00:06:21,660
You can see that on these equations here we only have additive noise, so the noise is only added onto

90
00:06:21,660 --> 00:06:22,130
the end.

91
00:06:22,530 --> 00:06:27,480
So obviously if we do all that differentiation, we're just going to end up with an identity matrix

92
00:06:27,480 --> 00:06:28,840
for the noise Jacobean.

93
00:06:29,550 --> 00:06:30,600
So this is fairly simple.

94
00:06:30,630 --> 00:06:32,880
This is just showing us that we have additive noise.

95
00:06:33,390 --> 00:06:37,470
We can add the noise covariance directly onto the previous model covariance.
