Multiple files
Hi,
I'm really new to maple and I'm trying to learn how to do few basic things. I have sequential files
1740.tmp, 1741.tmp, .... 1770.tmp. and each file contains 12 float numbers:
0.400
0.324
0.232
.
.
.
0.342
what I've done so far is the following:
L := [seq(i, i = 1740 .. 1770)]
filename := cat("/Users/humadih/test/", L, ".tmp")
> Y := readdata(filename, 1)
and it's giving me this error:
Error, (in readdata) expecting a file name or descriptor
I can get rid of this error message if I put one file name like:
> Y := readdata("/Users/name/test/1741.tmp", 1)
I want to read all these data and put them in different vectors or one big matrix and I have no idea how to do it?
I appreciate any help
thanks,
Henry

Loading Comments & Answers