Vector Time Conversion to Serial numbers

조회 수: 1 (최근 30일)
Eric
Eric 2011년 2월 27일
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