Problem 61102. Broken Clock
Create a function that outputs t, an inputted matrix time x, in hours and minutes (hr:min) unless the time contains a five. In this case, it should read that the time is '04:44'.
Examples:
x = [1 27], t = '01:27'
x = [4 29], t = '04:29'
x = [5 00], t = '04:44'
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers53
Suggested Problems
-
53 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!