help-octave
[Top][All Lists]
Advanced

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

Re: dlmread problem


From: John W. Eaton
Subject: Re: dlmread problem
Date: Tue, 30 Nov 2010 16:52:09 -0500

On 30-Nov-2010, Martin Helm wrote:

| Am Dienstag, 30. November 2010, 22:09:33 schrieb Keith Grider:
| > John and Martin,
| > 
| > I appreciate the help. The data file I use is attached. I do not think I
| > have any other dlmread anywhere in my path.
| > 
| > Keith
| 
| Your file contains a tab as delimiter between the columns, read it with
| 
| dlmread("test.txt","\t",1,0)
| 
| and everything should be fine.
| Since you choose in your command " " as delimiter which is wrong the two 
| columns are interpreted as one number.

Oh, that too.  I see now that the line ending is not the problem here,
though I'm not sure that dlmread is always doing the right thing for
CRLF or CR line endings in any case.

jwe


reply via email to

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