help-octave
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
reshape array failed
From
:
Junqian Xu
Subject
:
reshape array failed
Date
:
Mon, 7 Dec 2009 19:27:10 -0600
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 do
reshape(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
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
reshape array failed
,
Junqian Xu
<=
Re: reshape array failed on windows
,
Junqian Gordon Xu
,
2009/12/07
Re: reshape array failed on windows
,
John W. Eaton
,
2009/12/07
Re: reshape array failed on windows
,
Junqian Gordon Xu
,
2009/12/07
Re: reshape array failed on windows
,
Jaroslav Hajek
,
2009/12/08
Re: reshape array failed on windows
,
Junqian Gordon Xu
,
2009/12/08
Re: reshape array failed on windows
,
John W. Eaton
,
2009/12/08
Prev by Date:
Installing Octave
Next by Date:
Re: reshape array failed on windows
Previous by thread:
Installing Octave
Next by thread:
Re: reshape array failed on windows
Index(es):
Date
Thread