Calculate the difference of angles between Hour hand and Minute hand of clock
E.g.
1) At 12:00 Angle Difference = 0 degrees
2) At 14:00 Angle Difference = 60 degrees
3) At 24:00 Angle Difference = 0 degrees
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers34
Suggested Problems
-
Remove the small words from a list of words.
1559 Solvers
-
given 3 sides, find area of this triangle
818 Solvers
-
270 Solvers
-
Return elements unique to either input
807 Solvers
-
6254 Solvers
More from this Author6
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
This is a slightly different, and easier, version of these problems:
http://www.mathworks.com/matlabcentral/cody/problems/392-clock-hand-angle-1
http://www.mathworks.com/matlabcentral/cody/problems/1206-angles-of-the-hands-of-a-clock
Please note that the angle between the hour and minute hands also depends on the second hand. You assumed the zero-second in all test cases, which makes your problem a special case of an existing problem: http://www.mathworks.com/matlabcentral/cody/problems/392-clock-hand-angle-1