Dear all, I have text file like this (attached file):
Date SR2020/02/24 00:00:00.000 3.4577852020/02/24 00:00:01.000 3.4577852020/02/24 00:00:02.000 3.4577852020/02/24 00:00:03.000 3.457785
I wanna convert it to table like this:
Date SR2020/02/24 00:00:00.000 3.4577852020/02/24 00:00:01.000 3.4577852020/02/24 00:00:02.000 3.4577852020/02/24 00:00:03.000 3.457785
But when I use the readtable. I got this result:
m=readtable('test.txt')
m =
4×3 table
Var1 Var2 Var3
______________ ________ ______
{'2020/02/24'} 00:00:00 3.4578
{'2020/02/24'} 00:00:01 3.4578
{'2020/02/24'} 00:00:02 3.4578
{'2020/02/24'} 00:00:03 3.4578
It spilit the column Date into 2 columns. Please give me the idea to fix this. Thanks so much.
Best Answer