help-octave
[Top][All Lists]
Advanced

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

Re: size of empty matrix


From: Dmitri A. Sergatskov
Subject: Re: size of empty matrix
Date: Sat, 16 Jun 2018 21:32:17 -0500



On Sat, Jun 16, 2018 at 9:19 PM, Mike Miller <address@hidden> wrote:
On Sat, Jun 16, 2018 at 20:07:46 -0500, Dmitri A. Sergatskov wrote:
> Could somebody explain it to my why I get different answers calling
> size(b) and "size b" when b is an empty matrix?

Because "size b" is the same as "size ('b')", 'b' is a 1×1 char array.


​Thanks.

--
mike

​Dmitri.
--

reply via email to

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