Question: MATLAB only using atan. Write a MATLAB function called arctan to compute the arctangent of a given (x,y) coordinate pair. You may use MATLAB's atan

Write a MATLAB function called arctan to compute the arctangent of a given (x,y) coordinate pair. You may use MATLAB's atan function but not its atan2 function. The inputs should be a vector of x values and a vector of corresponding y values. The output should be the vector of corresponding angles 4 . Do not use MATLAB's input() function. There is a function skeleton in the HW Files folder on Canvas. Make sure your function matches it. 5 Write a MATLAB function called arctan to compute the arctangent of a given (x,y) coordinate pair. You may use MATLAB's atan function but not its atan2 function. The inputs should be a vector of x values and a vector of corresponding y values. The output should be the vector of corresponding angles 4 . Do not use MATLAB's input() function. There is a function skeleton in the HW Files folder on Canvas. Make sure your function matches it. 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
