y1 = 2003; 
d1 = 302; 
y2 = 2003; 
d2 = 302; 

time1string = ('06:51:50 ')
time2string = ('07:37:52 ')

h1 = str2num(time1string(1:2)); 
m1 = str2num(time1string(4:5));  
s1 = str2num(time1string(7:8)); 


h2 = str2num(time2string(1:2)); 
m2 = str2num(time2string(4:5));  
s2 = str2num(time2string(7:8));

timeaverage(y1,d1,h1,m1,s1,y2,d2,h2,m2,s2)
