Vector Time Conversion to Serial numbers

1 次查看(过去 30 天)
Hi All,
I'm working with the financial toolbox. I'm tying to input 90 day's worth of data which takes a market sample evey 15 minutes. I've been able to get the day dates into a serial format, but I'm unable to find the corect function get the time into a serial format. This is a sample of the current time format: 80000 81500 83000 84500 90000 91500 93000 94500 100000 101500 103000 104500 110000
I would like to get this into serial so that I can concatenate the times with the dates into a single fints. Let me knowe if there is a better tool to do this with than manually as I am now.
Thanks!
Eric

采纳的回答

Matt Tearle
Matt Tearle 2011-2-27
Serial dates are in units of days, so you can add fractional days to them. So you should be able to take the time, divide by 240000, and add to the date. (Sorry if I misunderstand what you're trying to do.)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by