Question: Matlab program, write a script Problem 3 (3 pts]: Write a function called calculateDistanceIn 3D that will compute and return the scalar distance between two
Problem 3 (3 pts]: Write a function called calculateDistanceIn 3D that will compute and return the scalar distance between two points Pa and P2 in three dimensional space given their Cartesian coordinates (X1, Y1, 21) and (x2, Y2, 22). Note that P, and P2 should both be represented in Matlab as 3-element vector variables. Take that into account when designing and implementing your process computation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
