Hi,
I have two text files, with coordinate data organized row by row (for each coordinate of a particle). The data looks like this, for one of the files:
1.9500, 1, 200000.0, 0.0700, 1.7901, 1.7901, 0.0000, 2.00
1, 82.000, -1.515, 233.262, 182.400,184.000, 1.000, 0.426, 0.274, 0.280
2, 87.000, 2.003, 247.324, 203.600,172.600, 1.000, 0.258, 0.081, 0.091
3, 85.500, 11.034, 111.973, 174.500,182.600, 1.000, 0.291, 0.181, 0.167
I need to extract the last column of each file (eg. 0.280, 0.091, 0.167 etc) and compare each row value with the corresponding row in the other file, find which is larger and put it into a new file. How can I do this?
Please help, as I need to find this ASAP for a research project.
Thanks.