s2hms
PURPOSE 
S2HMS: converts seconds to interger hour, minute, and seconds.
SYNOPSIS 
function [hr,min,sec]=s2hms(secs)
DESCRIPTION 
CROSS-REFERENCE INFORMATION 
This function calls:
This function is called by:
- greg2 GREG2: converts decimal yearday to standard Gregorian time.
SOURCE CODE 
0001 function [hr,min,sec]=s2hms(secs)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 sec=round(secs);
0012 hr=floor(sec./3600);
0013 min=floor(rem(sec,3600)./60);
0014 sec=round(rem(sec,60));
0015
Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005