Problem 243. Four quadrant inverse tangent function.
41.83% Correct | 58.17% Incorrect
Last Solution submitted on Oct 13, 2022
@bmtran (Bryant Tran) on 4 Feb 2012
This one should work for all of the test cases except that you have some numerical precision issues with the last test case. Please replace it with a numerical comparison that takes into account precision (my code is returning numbers with no decimal point but the test code returns something less pretty).
Problem Recent Solvers56
Detect a number and replace with two NaN's
Fahrenheit to Celsius converter
Relative ratio of "1" in binary number
Is this triangle right-angled?
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!