Hi, I am trying to smooth out some data. I have a long file formatted with position and signal strength:
22.38762 55.43485 107.333
22.3878 55.43485 94.0333
22.38797 55.43487 83.1333
22.38875 55.435 86.2666
22.38895 55.435 93.2999
I want to go through each line and find all other records in the same file within 0.001 of the position ($1 and $2), and then print the single position with the results (just $3) printed as subsequent fields:
22.38762 55.43485 107.333 101.3 106.8 204.9
22.3878 55.43485 94.0333 95.02 83.7
hope you can help me with this problem.
thanks
vidmo
22.38762 55.43485 107.333
22.3878 55.43485 94.0333
22.38797 55.43487 83.1333
22.38875 55.435 86.2666
22.38895 55.435 93.2999
I want to go through each line and find all other records in the same file within 0.001 of the position ($1 and $2), and then print the single position with the results (just $3) printed as subsequent fields:
22.38762 55.43485 107.333 101.3 106.8 204.9
22.3878 55.43485 94.0333 95.02 83.7
hope you can help me with this problem.
thanks
vidmo