|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #35630] fileread returns a column, at odds with Matlab response |
Date: | Sun, 26 Feb 2012 21:14:49 +0000 |
User-agent: | Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.10.229 Version/11.61 |
URL: <http://savannah.gnu.org/bugs/?35630> Summary: fileread returns a column, at odds with Matlab response Project: GNU Octave Submitted by: None Submitted on: Sun 26 Feb 2012 09:14:48 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Terry Duell Originator Email: Open/Closed: Open Discussion Lock: Any Release: 3.6.0 Operating System: GNU/Linux _______________________________________________________ Details: The following code segment returns a column vector and fails to get a useful result in y... dd=fileread("testdata"); header=dd(1:104); data=dd(105:end); y=str2num(data); On Matlab this code returns a returns a row vector with expected results, i.e correct numeric values, in y. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35630> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |