1
00:00:03,550 --> 00:00:09,170
In the Unscented Transform video, we've introduced the concept of a Matrix square root.

2
00:00:09,550 --> 00:00:14,830
And in this video, we're going to dive into a bit more detail about what the Matrix square root actually

3
00:00:14,830 --> 00:00:15,170
is.

4
00:00:16,210 --> 00:00:22,810
So mathematically speaking, the square root matrix where B is equal to the square root of A is a matrix

5
00:00:22,810 --> 00:00:26,560
that satisfies relationship that A is a good A B squared.

6
00:00:26,950 --> 00:00:32,730
So just like we did with SCALARS, this is what we want to understand, a square root of a matrixes.

7
00:00:33,160 --> 00:00:37,270
However, we know that matrices don't operate the same way as normal.

8
00:00:37,270 --> 00:00:41,950
Skylar's is different rules that apply to Matrix's compared to the scale of variables.

9
00:00:43,150 --> 00:00:49,540
So in the filtering domain, we usually operate on covariance matrices, which are by definition positive

10
00:00:49,540 --> 00:00:50,350
semi definite.

11
00:00:50,740 --> 00:00:56,230
So we are going to limit the definition of the square root matrix of B is equal to the square root day

12
00:00:56,650 --> 00:01:03,340
to be the matrix that satisfies this relationship here that A is equal to be Thom's B transpose.

13
00:01:03,670 --> 00:01:09,400
So instead of just having it to be a zero base squared, we're going to specifically define it B, B

14
00:01:09,400 --> 00:01:10,780
times, B transpose.

15
00:01:11,890 --> 00:01:14,690
And we're going to do this because of two reasons.

16
00:01:14,710 --> 00:01:21,160
First is that the Matrix square root of Aziga to be squared can be expanded out to B, B times B.

17
00:01:21,340 --> 00:01:26,210
So obviously for this equation to work, Bayes going to have to be a square matrix.

18
00:01:27,220 --> 00:01:33,130
We also know that covariance matrix is a positive semi definite and the definition of a positive semi

19
00:01:33,130 --> 00:01:39,820
definite is a matrix that can be broken down into this relationship here of B transpose times.

20
00:01:39,820 --> 00:01:46,960
B Now combining these two conditions together, we get that the square root condition of a positive

21
00:01:46,960 --> 00:01:53,960
70 definite matrix means that the Matrix A can be broken down into B times B transpose.

22
00:01:54,430 --> 00:01:58,910
So this is the definition that we're going to use for the square root of the covariance matrix.

23
00:02:00,010 --> 00:02:05,200
So then how do we actually go about calculating the square root of a so how do we actually calculate

24
00:02:05,200 --> 00:02:06,220
this B matrix?

25
00:02:06,490 --> 00:02:12,010
And one way of calculating this matrix is to use Sokolsky decomposition.

26
00:02:12,580 --> 00:02:18,730
And what this actually says is that didkovsky decomposition of a positive semi-finished definite matrix

27
00:02:18,730 --> 00:02:27,370
A is the decomposition into the form of A is equal to L times l conjugate transpose.

28
00:02:27,520 --> 00:02:34,660
So here L is a lower triangle matrix and LWR is the conjugate transpose of this matrix.

29
00:02:34,660 --> 00:02:39,300
L have a we know that we're going to be operating with real numbers.

30
00:02:39,310 --> 00:02:43,410
So the covariance matrix is going to be a real rather than a complex matrix.

31
00:02:43,720 --> 00:02:50,290
So when L is a real positive, definite matrix then a factorization can be written just as a transpose

32
00:02:50,290 --> 00:02:52,060
instead of a conjugate transpose.

33
00:02:52,810 --> 00:02:58,570
And if you notice from the previous slide, the definition of the square root matrix is basically in

34
00:02:58,570 --> 00:02:59,410
this form here.

35
00:02:59,650 --> 00:03:03,750
So using this form here, L is going to be the square root matrix of a.

36
00:03:05,290 --> 00:03:10,540
So this is saying for the unsane and transform we can use a Korski decomposition to calculate the square

37
00:03:10,540 --> 00:03:11,970
root of the covariance matrix.

38
00:03:11,980 --> 00:03:18,400
And this is just going to be by taking the decomposition of the covariance matrix and then the lower

39
00:03:18,400 --> 00:03:22,990
triad will matrix that the composition gives you is just going to be the square root matrix.

40
00:03:24,250 --> 00:03:27,310
So this is how we're going to be calculating the square root matrix.

41
00:03:27,310 --> 00:03:33,410
Whenever we're doing any filtering, we're going to use a koskie decomposition and there's lots of numerical

42
00:03:33,410 --> 00:03:35,020
libraries that do this automatically.

43
00:03:35,030 --> 00:03:37,840
So this is a very common numerical operation.
