﻿1
00:00:00,390 --> 00:00:01,230
‫Welcome back.

2
00:00:01,530 --> 00:00:06,720
‫So let's try to rewrite this system of equations in a different form.

3
00:00:07,230 --> 00:00:13,010
‫How about if we try to represent this relationship in a vector matrix form?

4
00:00:13,530 --> 00:00:21,720
‫If you do that, then it will look like this and you will have a matrix here that we will call R, and

5
00:00:21,720 --> 00:00:25,950
‫if you write it out, you will get the same expression like this one.

6
00:00:26,250 --> 00:00:34,820
‫And this Matrix R is called a rotation matrix in 2D, a two dimensional rotation matrix.

7
00:00:35,160 --> 00:00:42,030
‫It's called a rotation matrix because it's like rotating the body frame with respect to the inertia

8
00:00:42,030 --> 00:00:44,240
‫frame by an angle BPCI.

9
00:00:44,490 --> 00:00:53,370
‫However, what it really is, is just a matrix that transfers information from a body frame to the inertial

10
00:00:53,370 --> 00:00:53,870
‫frame.

11
00:00:54,240 --> 00:01:02,190
‫If you have a vector either position velocity or acceleration vector, which is represented in the body

12
00:01:02,190 --> 00:01:10,740
‫frame and you multiply a rotation matrix by it, then you get the same vector only in the inertial frame.

13
00:01:11,340 --> 00:01:14,040
‫Take a look at this position vector p.

14
00:01:14,400 --> 00:01:17,270
‫The vector itself does not change.

15
00:01:17,640 --> 00:01:29,430
‫What changes is how we represent it, either with inertial X and Y dimensions or body frame X and Y

16
00:01:29,430 --> 00:01:30,300
‫dimensions.

17
00:01:30,780 --> 00:01:39,630
‫And we can move back and forth between these two representations using the rotation matrix and its inverse

18
00:01:40,110 --> 00:01:40,950
‫like this.

19
00:01:41,370 --> 00:01:51,990
‫These are your P components in the inertia frame axis here and P Y is here and these are your P vector

20
00:01:51,990 --> 00:02:00,960
‫components in the body frame, your P body frame axis here, your P body frame y axis is here.

21
00:02:01,200 --> 00:02:08,850
‫And so I take this rotation matrix, which is this one, and I multiplied by this body frame position

22
00:02:08,850 --> 00:02:16,260
‫vector and I get the position vector in the inertia frame and if I want to do it in reverse then I need

23
00:02:16,380 --> 00:02:18,570
‫an inverse rotation matrix.

24
00:02:19,020 --> 00:02:20,040
‫And there you have it.

25
00:02:20,400 --> 00:02:29,160
‫I multiply the inverse of the rotation matrix R by the position vector in the inertia frame and I get

26
00:02:29,340 --> 00:02:33,710
‫the same position vector only represented in the body frame.

27
00:02:33,960 --> 00:02:41,850
‫I can abbreviate the inertia frame with the letter E because we can also call it the earth frame and

28
00:02:41,850 --> 00:02:50,160
‫I can abbreviate the body frame with the letter B and so if I put a superscript E here, then that means

29
00:02:50,160 --> 00:02:54,060
‫that the position vector is represented in the initial frame.

30
00:02:54,240 --> 00:03:01,290
‫And if I put superscript B here, then that means that the position vector is represented in the body

31
00:03:01,290 --> 00:03:01,770
‫frame.

32
00:03:12,590 --> 00:03:15,800
‫OK, that was a two dimensional case.

33
00:03:16,100 --> 00:03:19,350
‫Let's now expand this concept to 3D.

34
00:03:19,760 --> 00:03:26,840
‫If you look at one reference frame, rotate with respect to another in 2D like this.

35
00:03:27,260 --> 00:03:33,530
‫In other words, you have the body frame rotating with respect to the inertial frame, then what do

36
00:03:33,530 --> 00:03:37,220
‫you see when you now think in 3D?

37
00:03:37,640 --> 00:03:40,440
‫What axis are you rotating about?

38
00:03:41,000 --> 00:03:44,710
‫Give you this more thought and I will tell it to you in the next video.

