How to organize data from diferent datafiles [Fortran] : I'm really noob in programing, but my physics research doesn't care about it :).
I use Fortan95, and now I'm facing a problem that I can't see any solution so I hope you can save me. It goes as follows:

 - I have 8 datafiles with 4 columns each one, they are generated by other program (each file contains the solutions of differential equations for diferent sets of initial condictions).
 - The 4th column is my 'x' variable and the 2nd column is my 'f(x)'.
 - So, all I want is to create a new file with 9 columns (with the 'x' in the first and the 'f(x)' of each file in the others columns).
 - However, each file has different values for 'x' (and its respective f), like 1.10, 1.30 and 1.40 in one and 1.15, 1.25 and 1.42 in other.
 - So, it's ok for me to take a 'band' in x, like [1.00;1.20] and write in my new file this average value as x, and then reune the f(x) in this band under it.

But, as I've said, I'm a noob and I couldn't managed how to do it. I hope you've understand me and save my soul from the eternal damnation.