|
From: | Junqian Gordon Xu |
Subject: | Re: reshape array failed on windows |
Date: | Mon, 07 Dec 2009 19:37:24 -0600 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Maybe this is a regression of the reshape function compiled for windows. Gordon On 12/07/2009 07:27 PM, Junqian Xu wrote:
Octave 3.2.3 windows fid=fopen('file_name','r'); temp=fread(fid,Inf,'short');I can verify temp reads the integer values fine as in matlab. However matlab is able to doreshape(temp,256,256) But in Octave, it returns an error of error: reshape: can't reshape 0x1 array to 256x256 array. Maybe I'm missing something very basic here. Gordon
[Prev in Thread] | Current Thread | [Next in Thread] |