Elementary Linear Algebra 6e - Larson, Edwards, Falvo - Chapter 5 MATLAB - Inner Product Spaces

Elementary Linear Algebra 6e - Larson, Edwards, Falvo - Chapter 5 MATLAB - Inner Product Spaces

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CHAPTER 5 MATLAB EXERCISES 5–1 CHAPTER 5 MATLAB EXERCISES 1. Use the MATLAB command norm(v) to find (a) the length of the vector (b) a unit vector in the direction of (c) the distance between the vectors and 2. The dot product of the vectors (written as columns) and is given by the matrix product Hence you can compute the dot product of u and v simply by multiplying the transpose of u times the vector v .Let and and use MATLAB to find the following. (a) (b) (c) (d) and 3. The angle between two nonzero vectors is given by Use MATLAB to find the angle between and (Hint: use the built-in inverse cosine function, acos ). 4. You can find the orthogonal projection of the column vector x onto the vector y by computing Use MATLAB to find the following projections of x onto y . (a) (b ) (c ) 5. Use the MATLAB command cross(u, v) to find the cross products of the following vectors. (a) (b) u 5 s 0, 1, 2 2 d , v 5 s 2 5, 14, 6 d u 5 s 1, 2 2, 1 d , v 5 s 3, 1, 2 2 d x 5 s 0, 1, 3, 2 3 d , y
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Elementary Linear Algebra 6e - Larson, Edwards, Falvo - Chapter 5 MATLAB - Inner Product Spaces

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online