How can i interpret a time value in ascii into a numerical value?
Posted
by Bilal
on Stack Overflow
See other posts from Stack Overflow
or by Bilal
Published on 2010-05-31T14:34:18Z
Indexed on
2010/05/31
14:53 UTC
Read the original article
Hit count: 264
matlab
I have a file which is as follows:
15:03:21 II 0.88 0.64 15:03:31 II 0.88 0.64 15:03:42 II 0.40 0.40 etc.
after loading the file in matlab, I want to be able to read the first column (which corresponds to time) and interpret them as numerical values. At the moment, they are interpreted as a string of ascii characters and i can't perform any mathematical operations on them. Does anyone have any suggestions as to how i can read the time as numbers instead of a string of ascii characters?
© Stack Overflow or respective owner