MATLAB and projection and perpendicular formulas
Not what you're looking for?
Hi,
Can you help me with the Question in the second page of this assignment?
a) Using the projection formula and the dot and norm commands in MATLAB, find proj(8,−3,1,2,1,2)(4, −5, 2, 6, 1, 3).
b) Using the perpendicular formula and commands in MATLAB, find perp(8,−3,1,2,1,2)(4, −5, 2, 6, 1, 3).
Purchase this Solution
Solution Summary
This provides an example of using projection formula, perpendicular formal, and dot and norm commands in MATLAB.
Solution Preview
The following formulae were used:
〖proj〗_b ⃗ (a ⃗ )= (a∙b ̂ ) b ̂
〖perp〗_b ⃗ (a ⃗ )= a ⃗-(a∙b ̂ ) b ̂
b ̂=unit vector in the direction of b ⃗
MATLAB CODE:
clear all; % clearr workspace
close all; % close all workspace windows (if there are figures opened)
clc; % clear the command window
% This code assumes proj_b(a) as being the projection of vector "a" in
% the ...
Purchase this Solution
Free BrainMass Quizzes
Know Your Linear Equations
Each question is a choice-summary multiple choice question that will present you with a linear equation and then make 4 statements about that equation. You must determine which of the 4 statements are true (if any) in regards to the equation.
Multiplying Complex Numbers
This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.
Solving quadratic inequalities
This quiz test you on how well you are familiar with solving quadratic inequalities.
Geometry - Real Life Application Problems
Understanding of how geometry applies to in real-world contexts
Graphs and Functions
This quiz helps you easily identify a function and test your understanding of ranges, domains , function inverses and transformations.