Convert the numeric representation of seconds to durations.
% x are you seconds values
s = seconds(x);
Change the duration format to hh:mm
s.Format = 'hh:mm';
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!