﻿1
00:00:00,470 --> 00:00:01,310
‫Welcome back.

2
00:00:01,730 --> 00:00:07,790
‫Let's see now what the dimensions of Q double bar, T double bar and R double bar are.

3
00:00:08,480 --> 00:00:20,780
‫You know that this vector here is thirty six by one and since this vector here is transposed, then

4
00:00:20,780 --> 00:00:25,390
‫here you have one row and thirty six columns.

5
00:00:25,760 --> 00:00:32,120
‫It's this one here so you have one row and thirty six columns.

6
00:00:32,630 --> 00:00:34,220
‫That's this one here.

7
00:00:34,550 --> 00:00:42,980
‫X still the global transposed then X still the global is thirty six by one.

8
00:00:43,850 --> 00:00:50,380
‫That means that this matrix is thirty six by thirty six.

9
00:00:51,110 --> 00:00:53,500
‫And what about this sub matrix here.

10
00:00:54,260 --> 00:00:58,880
‫So see till transposed q C Tilde.

11
00:00:59,750 --> 00:01:01,910
‫Well you know the C till there.

12
00:01:01,940 --> 00:01:09,350
‫It's three rows and nine columns as we have discussed before.

13
00:01:09,980 --> 00:01:22,490
‫That means the C till the transposed is nine rows and three columns and Q is three by three.

14
00:01:22,910 --> 00:01:24,750
‫So the dimensions match.

15
00:01:25,520 --> 00:01:32,630
‫So if you cancel out these threes here and these threes here, then you're left with nine by nine.

16
00:01:33,380 --> 00:01:38,480
‫So each sub matrix here is nine by nine.

17
00:01:38,480 --> 00:01:43,580
‫And that means that these zeroes here, they're are also zero matrices.

18
00:01:43,580 --> 00:01:47,170
‫They're nine by nine zero matrices.

19
00:01:48,020 --> 00:01:50,300
‫And what about T double bar then?

20
00:01:50,810 --> 00:01:57,170
‫You know that you're cuttable bar is thirty six by thirty six.

21
00:01:57,980 --> 00:02:00,130
‫Well let's look at this element here.

22
00:02:00,980 --> 00:02:10,280
‫Q Times see till the Q is three by three and then see till there is three by nine.

23
00:02:11,090 --> 00:02:15,760
‫So you cancel all the threes and you're left with three by nine.

24
00:02:16,490 --> 00:02:24,280
‫So this sub matrix here is three by nine and that also means that you're zero matrix.

25
00:02:24,290 --> 00:02:26,180
‫Here's three by nine.

26
00:02:27,080 --> 00:02:34,610
‫That means that the T double bar is twelve by thirty six.

27
00:02:35,420 --> 00:02:37,640
‫And then what about the R double bar.

28
00:02:38,150 --> 00:02:42,740
‫Will you know that R is a three by three wait matrix.

29
00:02:43,100 --> 00:02:48,200
‫And so that means that your zero matrix is also three by three.

30
00:02:48,800 --> 00:02:57,380
‫So you are double bar is twelve by twelve and you can see that each term in this cost function will

31
00:02:57,380 --> 00:02:59,810
‫result in a scalar in the end.

32
00:03:00,510 --> 00:03:03,280
‫So let's take this first term here, here.

33
00:03:03,290 --> 00:03:07,370
‫This augment the state vector which is global and transposed.

34
00:03:07,370 --> 00:03:10,820
‫It's one times thirty six like this.

35
00:03:11,030 --> 00:03:14,390
‫Then your matrix, the global weight matrix.

36
00:03:14,390 --> 00:03:23,540
‫Q double barrel is thirty six by thirty six and then there's global LGMA, the state vector is thirty

37
00:03:23,540 --> 00:03:25,820
‫six by one.

38
00:03:26,330 --> 00:03:35,000
‫And so you cancel out these thirty sixes here and then you're left with one by one which is a scalar.

39
00:03:35,780 --> 00:03:38,240
‫Similarly the second term is like this.

40
00:03:38,510 --> 00:03:46,490
‫So you have this transposed reference value vector which is one row and twelve columns.

41
00:03:47,210 --> 00:03:52,090
‫Then this one here is thirty six rows and one column.

42
00:03:52,850 --> 00:04:00,500
‫So in the end you have one times twelve which is this one here, one row twelve columns.

43
00:04:00,950 --> 00:04:11,060
‫Then this t double bar matrix is twelve by thirty six like this and then this vector here is thirty

44
00:04:11,060 --> 00:04:13,340
‫six by one.

45
00:04:14,120 --> 00:04:21,830
‫So you cancel out the twelfth, you cancel out the thirty sixes and you're left with one by one which

46
00:04:21,830 --> 00:04:25,910
‫is a scalar and then it's the same thing with the last term.

47
00:04:26,270 --> 00:04:36,290
‫Here you have a twelve by one vector, here you have a one by twelve vector and then here this R double

48
00:04:36,290 --> 00:04:48,140
‫bar is twelve by twelve and so you have one row twelve columns, then twelve by twelve and then twelve

49
00:04:48,140 --> 00:04:49,880
‫by one.

50
00:04:49,880 --> 00:04:55,190
‫And so you cancel out these twelfths and you are left with one by one.

51
00:04:55,190 --> 00:04:57,190
‫So that's a scalar here.

52
00:04:57,950 --> 00:05:00,020
‫So now you have an idea of the Diemen.

53
00:05:00,050 --> 00:05:07,490
‫A chance for these vectors and matrices, and so in the end, you can rewrite this entire cost function

54
00:05:07,490 --> 00:05:15,050
‫in a compact form like this, Jay Prime equals that would be your first term.

55
00:05:16,010 --> 00:05:18,190
‫That would be your second term.

56
00:05:18,200 --> 00:05:24,090
‫And don't forget about the minus sign here and that would be your third term here.

57
00:05:24,800 --> 00:05:27,790
‫So this is a compact way to rewrite J.

58
00:05:27,800 --> 00:05:28,430
‫Prime.

