Numerical Recipes Forum  

Go Back   Numerical Recipes Forum > Obsolete Editions Forum > Fortran 90 Programming with NR

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2010, 05:13 AM
dn123 dn123 is offline
Registered User
 
Join Date: Jul 2010
Posts: 11
Angry autocorrelation program

hello...
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 list.now 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....
regards
dn123
Reply With Quote
  #2  
Old 07-15-2010, 06:11 PM
davekw7x davekw7x is offline
Registered User
 
Join Date: Jan 2008
Posts: 369
Quote:
Originally Posted by dn123 View Post
hello...
Hello.
Quote:
Originally Posted by dn123
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?


Regards,

Dave
Reply With Quote
  #3  
Old 08-04-2010, 02:01 AM
dn123 dn123 is offline
Registered User
 
Join Date: Jul 2010
Posts: 11
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...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.