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

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

[Octave-bug-tracker] [bug #65471] document expected output form from his


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65471] document expected output form from hist
Date: Sun, 17 Mar 2024 18:58:37 -0400 (EDT)

Update of bug #65471 (group octave):

                Category:                    None => Documentation          
                Severity:              3 - Normal => 2 - Minor              
              Item Group: Unexpected Error or Warning => Documentation        
 
                  Status:                    None => Confirmed              
                 Summary: hist rules need to be more clear => document
expected output form from hist

    _______________________________________________________

Follow-up Comment #1:

thanks for reporting the lack of clarity. I agree that the current hist
documentation provides no indication of what the output should be.  Since the
function is intended to be matlab compatible, the Matlab documentation
specifies:


counts = hist(___) returns a row vector, counts, containing the number of
elements in each bin.

[counts,centers] = hist(___) returns an additional row vector, centers,
indicating the location of each bin center on the x-axis.


so it appears it is expected that both outputs are row vectors for vector
inputs. I believe that is the current behavior, please let us know if you find
an exception to this.  

Updating bug category to Documentation.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65471>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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