function h=hms2h(h,m,s) % HMS2H hours, minutes, and seconds to decimal hours. % % h=HMS2H(h,m,s) converts hours, minutes, and seconds to % decimal hours. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ver. 1: 5/15/91 (RS) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% h=h+m./60 + s./3600; end