I have a file that has the following structure
1 100
2 200
3 300
4 400
I would parse that file into two lists.
List1 would contain [1,2,3,4]
List2 would contain [100,200,300,400]
I have tried looking around but I am having trouble with the parameters to functions such as textread
and fscanf
. Any and all help is appreciated. Thanks!