Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 1576. Mean and standard deviation of times in string

Created by Marek Kuklis

Input(t) - cell of strings with times in format ''

Output([m, s]) - two strings with mean and standard deviation with the same format (rounded to first decimal place)


  • t={'45.5', '1:04.8', '55.4'}; m='55.2'; s='9.7';
  • t={'1:38.4', '2:12.9', '2:00.6'}; m='1:57.3'; s='17.5'


Problem Group

Solution Statistics

12 correct solutions 13 incorrect solutions
Last solution submitted on Jan 26, 2015