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

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

[Octave-bug-tracker] [bug #48585] hist output does not correspond to Mat


From: Sebastian
Subject: [Octave-bug-tracker] [bug #48585] hist output does not correspond to Matlab
Date: Thu, 21 Jul 2016 17:00:12 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7

URL:
  <http://savannah.gnu.org/bugs/?48585>

                 Summary: hist output does not correspond to Matlab
                 Project: GNU Octave
            Submitted by: sschoeps
            Submitted on: Thu Jul 21 17:00:09 2016
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Sebastian
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Matlab has some strange ideas about "hist.m", e.g.
- the dimension of the return vectors is not well documented (and it's rather
inconsistent)
- Matlab does not sort for you if your vector of bins is unsorted (and thus
the results maybe unexpected)

I fixed Octave the Octave file to be more like Matlab, see the attached
files.

Sebastian



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu Jul 21 17:00:09 2016  Name: hist_new.m  Size: 8kB   By: sschoeps

<http://savannah.gnu.org/bugs/download.php?file_id=37975>
-------------------------------------------------------
Date: Thu Jul 21 17:00:09 2016  Name: hist_patch.m  Size: 3kB   By: sschoeps

<http://savannah.gnu.org/bugs/download.php?file_id=37976>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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