Two vectors are given: u = 5i - 6j + 9k and v = 11i + 7j

Question:

Two vectors are given:
u = 5i - 6j + 9k and v = 11i + 7j - 4k
Use MATLAB to calculate the dot product u · v of the vectors in three ways:
(a) Write an expression using element-by-element calculation and the MATLAB built-in function sum.
(b) Define u as a row vector and vas a column vector, and then use matrix multiplication.
(c) Use the MATLAB built-in function dot.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: