Subject: read external file with comments into a matrix
From: Sebastian Ehrhart
Date: Wed, 04 Aug 2010 13:47:14 +0200
Hello,
I want to use Maxima for data analysis and want to read in an external file with comment lines in the first rows. The external file looks like:
# p=1013 T=293
# x y
80.00 0.88
100.00 0.89
... a lot of more rows
read_matrix(file) fails because of the comments. The optimal solution I was looking for would be tell Maxima everything in file that starts with # is a comment.
On the other side saving the header as string could be useful for later use.
Did anyone before encountered this problem and has a solution for it?
Thanks a lot,
Sebastian
--
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01