octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43038] 'mean' fails when operating on trailin


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #43038] 'mean' fails when operating on trailing singleton dimension
Date: Thu, 21 Aug 2014 02:58:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Update of bug #43038 (project octave):

              Item Group:         Feature Request => Matlab Compatibility   
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Thanks for your bug report. Do you have access to Matlab to demonstrate what
the expected behavior should be?

According to my reading of the Matlab documentation for mean, it says "mean
returns A if dim is greater than ndims(A)". And referring to the help for
ndims, trailing singleton dimensions are dropped. Based on that, I would
expect the same behavior that you suggest. It would be good to confirm the
actual Matlab behavior.

It would also be good to check which other statistical functions that take a
dimension argument this would apply to.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43038>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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