[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Importing data in Octave
From: |
Alberto Frigerio |
Subject: |
Re: Importing data in Octave |
Date: |
Thu, 17 Dec 2009 00:09:18 -0800 (PST) |
I thought the same thing, but I want my Octave matrix to have those headers
since I'll use them ...
Alberto
John W. Eaton-3 wrote:
>
> 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
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>
--
View this message in context:
http://old.nabble.com/Importing-data-in-Octave-tp26824412p26824545.html
Sent from the Octave - General mailing list archive at Nabble.com.