[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help-me. How do I read the data from the first and second columns fr
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: Help-me. How do I read the data from the first and second columns from a file in this format in Octave ? |
Date: |
Wed, 20 Mar 2013 15:36:49 -0400 |
On 20 March 2013 15:15, Varlei Everton Menconi <address@hidden> wrote:
> Please, I would like to know how can I only read the first and second column
> of a data file (ascii, at attached) in this format?
[snip]
> I'm trying to use the load command, but do not know how to refer to the
> columns as they do not have names.
> m = load("-ascii", "sampleDataFile.txt", ??????!!!! )
Try
m = load("sampleDataFile.txt");
m(:,1:2)
HTH,
- Jordi G. H.