What is the required input for the function function distanc
What is the required input for the function function distance = gps (point_a, point_b) distance = point_b - point_a; end
Solution
Answer is:
point_a,point_b
distance wrong, because the function calculates the distance by using point_a and point_b, and returns the calculated distance value..
so, the function needs point_a and point_b as input
