Mean and standard deviation of times in string - MATLAB Cody - MATLAB Central

Problem 1576. Mean and standard deviation of times in string

Difficulty:Rate

Input(t) - cell of strings with times in format 'min:sec.ms'

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

Example:

  • 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'

Solution Stats

23.99% Correct | 76.01% Incorrect
Last Solution submitted on Apr 03, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers66

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page