help-octave
[Top][All Lists]
Advanced

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

Re: Dimensions of a matrix passed to an OCT file


From: Doug Stewart
Subject: Re: Dimensions of a matrix passed to an OCT file
Date: Sun, 26 Jan 2014 05:17:17 -0500




On Sun, Jan 26, 2014 at 12:08 AM, mpender <address@hidden> wrote:
Is there an easy way to tell the dimensions of a matrix passed as a parameter
to an oct file?

I know there is a test to determine if it is scalar, but what if I just want
to know how many rows and columns are in a two-dimensional matrix passed as
a parameter so that I can index the array?



-


try the size command
help sizeĀ 
help length

--
DAS


reply via email to

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