Problem 786. Top of the Hour : Return from your routine within 1 second of the hour
Top of the Hour
Submit your routine such that it returns to Cody after the hour and within 1 second of the hour.
The test criteria will be two seconds.
Inputs: None
Outputs: Unused variable
function x=Top_of_Hour
Solution Stats
Problem Comments
-
2 Comments
I guess you were inspired from my Cody : http://www.mathworks.com/matlabcentral/cody/problems/784-cody-computer-part-4-are-you-a-morning-cody-player-addicted . We can try your problem 24 times per day whereas mine you can try as many times as you want but only between 7 and 9 o'clock ;-)
Gaaah. Missed it by one second.
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15624 Solvers
-
4515 Solvers
-
1222 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
542 Solvers
-
Volume difference between Ellipsoid and Sphere
129 Solvers
More from this Author308
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!