Oct 1, 2015

Lecture 10

We are going over using MATLAB to solve linear algebra.



The first thing is the real dot product, instead of the dot multiplication (.*) product we have been using. dot(A,B) does the same thing as sum(A.*B)  with one less character.
Using A∙B = |A||B|cos(theta) and dot product, calculate theta between A = 5i + 6j + 3k and B = i + 2j + 2k.




Using dot product on different column vectors of the data matrix to calculate the position of the center of mass.

















There is no screenshot, but we also went over dot product with multi-dimensional matrices.

Practice exercise for inverses
A matrix multiplied by its inverse results in an identity matrix. Not shown is the determinant function det().



This exercise uses cross product to calculate the moment about a pivot point on lever for a given force that is described as a vector.