vb.net - Mean value of data with varying time step -


i have number of dataseries timestep varying between few seconds , maybe 120 minutes represented in decimal hours after january 1st. example 1 value can given @ time 4692.759994 , next @ 4692.769281. values can both positive , negative. calculate mean values given time (usually 1 hour) , wonder of have made similar. code probable in vba or vb.net.

thanks

if use vb.net might find useful:

    dim dtbase new datetime(now.year, 1, 1)     dim t1 datetime = dtbase.addhours(4692.759994)     dim t2 datetime = dtbase.addhours(4692.769281)     dim interval timespan = t2 - t1 'the result 00:00:33.4340000 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -