Hi I'm wondering how I would go about creating a program that will input data from about 1,000 files containing data such as this:
2.825 1.00697992588
2.875 0.952989176901
2.925 0.91428970229
2.975 0.890110513425
3.025 0.879731596138
3.075 0.959217137445
3.125 1.07391392796
3.175 1.04874407027
3.225 0.857693793906
I'm wanting to generate an average value for each element in the file. for example it would probably do this:
loop over all files(named output10000 - output10000000)
get all the values at all positions
generate an average value for each value
output new data file with all averages
I just can't figure out how to handle the input