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

32.12% Correct | 67.88% Incorrect
Last Solution submitted on Dec 12, 2025

Solution Comments

Show comments

Problem Recent Solvers53

Suggested Problems

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!