help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading files in Octave


From: John W. Eaton
Subject: Re: Reading files in Octave
Date: Wed, 11 Mar 2009 14:14:25 -0400

On 11-Mar-2009, José Luis García Pallero wrote:

| Or you can use the function load():
| 
| Cl=load('foo.dat');
| Sl = Cl(:,4);
| Cl = Cl(:,3);

Yes, if the intput file has the same number of columns on each row.
But what appeared in my mailer looked like it was 3 values on a row
followed by 1 value, and then repeating, so I used fscanf.  But maybe
that was not the actual format of the file.

jwe



reply via email to

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