octave-maintainers
[Top][All Lists]
Advanced

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

Re: Matlab compatibility or not Matlab compatibility


From: Julien Bect
Subject: Re: Matlab compatibility or not Matlab compatibility
Date: Wed, 17 Feb 2016 08:27:00 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Le 16/02/2016 19:06, Nicholas Jankowski a écrit :
ran on 2015b:

>> script_test

x =
    A object: 3-by-4-by-5

ans =
     3     4     5

ans =
     2

x =
  3x4x5 B array with properties:

    s: [3 4 5]

ans =
     3     4     5

ans =
     2

Thank you Nicholas.

No surprise then, the conclusion is still that Matlab's ndims() function doesn't not respect the size returned by the overloaded size() function.

It looks like a bug to me, since it is I think the only size-related function which behaves like that.

But, since Octave currently does the same, and since nobody complained about it, I won't try to fix it in the patch I'm working on (see bug #43925 and #44498).

@++





reply via email to

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