[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Importing data in Octave
From: |
John W. Eaton |
Subject: |
Importing data in Octave |
Date: |
Thu, 17 Dec 2009 02:58:06 -0500 |
On 16-Dec-2009, Alberto Frigerio wrote:
| Hi everyone, I've a question about importing data in Octave.
|
| I have a matrix saved in a .txt file that I would like to emport in Octave,
| using the statement "load" . But I've I problems if the matrix has character
| headers (for example, the description of the different columns). Hence, how
| can I import a mixed text-numbers matrix ? Have I to manipulate the .txt
| file?
If you have a single matrix in a file, lines beginning with % or #
characters are ignored. So make your header use those as comment
markers and it should just work.
jwe