[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
loading incremented files
From: |
James Cooley |
Subject: |
loading incremented files |
Date: |
Fri, 16 Jun 2000 13:30:04 -0400 |
I am trying to process alot of data which is in seperate ascii data
files they are named
stuff1.dat
stuff2.dat
stuff3.dat
...
stuff100.dat
I would like to have octave load each file individually, do some
processing, save a value and load the next to continue the cycle. I
have tried making a string variable which would increment the file,
e.g.,
for i=1:100
temp = ['stuff',i,'.dat']
load -ascii temp
end
but this tries to load the file 'temp' not stuff#.dat. How can I get
octave to load each file individually without doing it manually???
Thanks James Cooley
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
- loading incremented files,
James Cooley <=