Question: Write a user-defined MATLAB function that determines the unit vector in the direction of the line that connects two points (A and B) in space.
(a) In the direction from point (1.2, 3.5) to point (12, 15)
(b) In the direction from point (-10, -4, 2.5) to point (-13, 6, -5)
Step by Step Solution
3.47 Rating (173 Votes )
There are 3 Steps involved in it
Script file clear clc disp Part a A12 35 B12 15 n unitvec AB di... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
652-B-F-F-M (732).docx
120 KBs Word File
