help-octave
[Top][All Lists]
Advanced

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

Re: Very slow reading of a 2D matirx


From: Mike Miller
Subject: Re: Very slow reading of a 2D matirx
Date: Wed, 19 Oct 2005 22:27:12 -0500 (CDT)

On Wed, 19 Oct 2005, Bill Denney wrote:

Also, you invoked zero as:

x=zeros(1:180,1:180);

With that invocation, you're creating a 360 dimensional matrix with the dimensions 1x2x3x...x180x1x2x3x...x180. You meant to call it as


I also noticed he had done that, but on Octave 2.1.71, this is what I get:

octave:32> x=zeros(1:180,1:180);
octave:33> size(x)
ans =

  1  1

octave:34> x
x = 0

So I don't see a lot of dimensions.  Same with an old Octave version.

Mike



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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