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: Alireza
Subject: RE: Very slow reading of a 2D matirx
Date: Wed, 19 Oct 2005 22:37:49 -0500

This is my mistake. Still having x=zeros(180,180) does not help with
speeding things up.


> -----Original Message-----
> From: Mike Miller [mailto:address@hidden
> Sent: Thursday, 20 October 2005 1:27 PM
> To: Bill Denney
> Cc: Alireza; address@hidden
> Subject: Re: Very slow reading of a 2D matirx
>
>
> 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]