Transform from excel HH:MM:SS data to Matlab
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
i want to transform a timestamp excel data which looks like HH:MM:SS to Matlab.
After it, the data should be convert into seconds.
I looked after it in the internet and found this:
Data=xlsread('Data.xls');
out=datestr(:,1),'HH:MM:SS');
After this code my data is a (column x 8) char vector.
8 because of HH:MM:SS. But it is useless for me. So is there any way to transform it, like i said, to seconds?
Thank you very much!
3 件のコメント
madhan ravi
2019 年 1 月 28 日
編集済み: madhan ravi
2019 年 1 月 28 日
Which version of matlab are you using? attach your excel file
回答 (2 件)
参考
カテゴリ
Help Center および File Exchange で Time Series Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!