[Maxima] read external file with comments into a matrix
Sebastian_Ehrhart at gmx.de
Wed Aug 4 06:47:14 CDT 2010
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
... 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,
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
More information about the Maxima