Re: conactenate using a loop
- From: "Diederick Niehorster" <none@xxxxxxxx>
- Date: Wed, 31 Oct 2007 15:55:36 +0000 (UTC)
not sure what "dlmread(cat(1,files(j,1).name))" is supposed
to do (what is the cat() doing there)?, but generally you
would do what you want like this:
alldata = [];
for j=1:number_of_files_to_read;
data = read_data_and_return_your_array(filename);
alldata = [alldata; data];
end
Also, it might be handier to make a new list only
containing the filenames of files you want to read in and
not the others, then you can simply loop over that list and
do not have to create that vectorX
.
- References:
- conactenate using a loop
- From: Lex
- conactenate using a loop
- Prev by Date: Re: Q: C mex-file problem with unsigned long long assignment. lcc compiler bug?
- Next by Date: Re: Printing large figure to file
- Previous by thread: conactenate using a loop
- Next by thread: Re: conactenate using a loop
- Index(es):
Relevant Pages
|