Dear everyone,
Please help me to solve this problem. I need to make a code that can read data from a text file. The format of the file is as follows:
0.1 ABC63-820
0.2 S815
…
1.0 EG813
I want to take out three arrays.
One is the first column: X=[0.1 0.2 … 1.0].
Another one is the last two digits of the second column: Y=[20 15 … 13].
The last one is the rest of the second column: Z=[ABC63-8 S8 … EG8].
Can anyone help me to write a code to take out these data?
Thank you so much!
Best Answer