Question: 2. Problem 2 - Create a MATLAB function m file, unitvector() that contains the following elements a. One input m, which is assumed to be

2. Problem 2 - Create a MATLAB function m file, unitvector() that contains the following elements a. One input m, which is assumed to be the delta-y value of slope when delta-x is one. b. Three output values in this order L, X, Y i. Lis the length of the vector ii. X is the normalized x value using L iii. Y is the normalized y value using L 2. Problem 2 - Create a MATLAB function m file, unitvector() that contains the following elements a. One input m, which is assumed to be the delta-y value of slope when delta-x is one. b. Three output values in this order L, X, Y i. Lis the length of the vector ii. X is the normalized x value using L iii. Y is the normalized y value using L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
