[Top][All Lists]

[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 ...


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

View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]