help-octave
[Top][All Lists]
Advanced

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

RE: size command


From: Geordie McBain
Subject: RE: size command
Date: Wed, 21 Jul 2004 14:09:21 -0400

Yes, Octave has a size command too.

    octave> A = zeros (3, 5);
    octave> size (A), size (A, 1), size (A, 2), rows (A), columns (A)
    ans =

      3  5

    ans = 3
    ans = 5
    ans = 3
    ans = 5
    octave> 

On Tue, 2004-07-20 at 16:26, Benny Wong wrote:
> Hey there,
> 
> like matlab where there's a "size()" command to obtain the size of the 
> array, is there such a command in octave? Thank you
> 
> Ben
> 
> 
> 
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
> 



-------------------------------------------------------------
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]