Question: IN MATLAB PLZ 4) Write a function that takes two 1-dimensional input arrays, representing two points (e.g., input1 [2,3], input2 =[11,2]) and outputs a single

IN MATLAB PLZ
4) Write a function that takes two 1-dimensional input arrays, representing two points (e.g., input1 [2,3], input2 =[11,2]) and outputs a single output array that contains the unit vector that points from the first point to the second point. A unit vector has total length of 1 . Write a script to test that your function works correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
