autocorrelation program

07-14-2010, 05:13 AM
i have nearly 100 files in ascii format. in every file there are 5 collums i,j,x,y,z. i and j are integer and x,y,z are real.i want to make arrays of x,y,z like x(i,j),y(i,j)and z(i,j).i have put all the file in the wat i want to do ,like i first read the 1 file from the list and make an array like x(i,j),y(i,j)and z(i,j)..
now when i read the 2 file from the list i can compare the values in the last collum with i,and..j....
for eg ..for i=1,and j=5, if for first file z(i,j)=a
then for the same i,j value what it will be for the second,and so on...
i need an output like
i j z(i,j)

a b c1
a b c2
a b c3
. . .
. . .
and so on....

07-15-2010, 06:11 PM
i have...

i need...

So: Can you show us what you have done so far (some code, right)? Can you tell us where you are hung up in trying to complete the assignment?

In other words: Can you tell us exactly what kind of help you are asking for that someone might be able to give you?



08-04-2010, 02:01 AM
thanks dave
i have done my assignment,i have a new problem.i have posted it as a new thred ....can u please help me...