Nice and clear and thank you for providing the source code. Just I don't quite get @12:55 why you multiple *yaw x pitch x roll* in that order. The Euler rotation sequence you choose should be Z-->Y-->X (or Psi-->Theta-->Phi) hence the first matrix-vector multiplication, should be *yaw x v*. The second rotation applies after the first rotation: *pitch x (yaw x v)*. So shouldn't the cosine matrix be *roll x pitch x yaw* instead? The first to last matrix transformation should go from right to left.
Great video! Just had a question, I am new to matlab so wanted to ask, why did you define unit vectors as 3x2 matrices and not as single column matrices?
That’s a great question. In this scenario, you are right - it is not necessary and you could have them simply as 3x1 where each position is defined solely by the end point. However, for further problems in the future, we might have a system which has more than one reference frame where the origin of the unit vector coordinates are not zero values. So it’s just good house keeping to keep for the future
Nice and clear and thank you for providing the source code. Just I don't quite get @12:55 why you multiple *yaw x pitch x roll* in that order. The Euler rotation sequence you choose should be Z-->Y-->X (or Psi-->Theta-->Phi) hence the first matrix-vector multiplication, should be *yaw x v*. The second rotation applies after the first rotation: *pitch x (yaw x v)*. So shouldn't the cosine matrix be *roll x pitch x yaw* instead? The first to last matrix transformation should go from right to left.
Great video! Just had a question, I am new to matlab so wanted to ask, why did you define unit vectors as 3x2 matrices and not as single column matrices?
That’s a great question. In this scenario, you are right - it is not necessary and you could have them simply as 3x1 where each position is defined solely by the end point. However, for further problems in the future, we might have a system which has more than one reference frame where the origin of the unit vector coordinates are not zero values. So it’s just good house keeping to keep for the future
I need help programming an algorithm in MATLAB, can you help me?