comparison toolboxes/bioakustik_tools/conversion/hhmmss_to_s.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function out=hhmmss_to_s(in)
2
3 h = sscanf(substr(in,0,2),'%d');
4 m = sscanf(substr(in,2,2),'%d');
5 s = sscanf(substr(in,4,2),'%d');
6
7 out=h*3600+m*60+s;