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

30.35% Correct | 69.65% Incorrect
Last Solution submitted on Jan 12, 2026

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers127

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!