Data extraction from txt with special format
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Win co
am 1 Okt. 2014
Kommentiert: Win co
am 2 Okt. 2014
Hello,
Given a following .txt file with 5 columns delimited by tab, I have difficulty at extracting these data in a matrix (double) where the 3rd column contains converted values in seconds.
ID DDD HH:MM:SS.mmmuuun PARA1 PARA2
1 0 01:05:04.9941480 0.0131 0.0000
In this example, in my matrix, the 3rd column has to be 1*3600+5*60+4.9941480. Could anyone help me to solve it please? Best regards, Winn
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 1 Okt. 2014
Try the readtable() function:
t = readtable(fullFileName);
If that doesn't work, try textscan().
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Large Files and Big Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!