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

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

[Octave-bug-tracker] [bug #65070] rose() and histc() made some undesired


From: Rik
Subject: [Octave-bug-tracker] [bug #65070] rose() and histc() made some undesired results
Date: Fri, 22 Dec 2023 14:36:45 -0500 (EST)

Update of bug#65070 (group octave):

                  Status:                    None => Duplicate              
             Open/Closed:                    Open => Closed                 
              Depends on:                         => bugs #48889            

    _______________________________________________________

Follow-up Comment #4:

I'm going to mark this as a duplicate of bug #48889 and continue development
there.

As for the second question, try 'help histc'.  In particular, this paragraph,


When X is a vector, the function counts the number of elements of X
that fall in the histogram bins defined by EDGES.  This must be a
vector of monotonically increasing values that define the edges of
the histogram bins.  'N(k)' contains the number of elements in X
for which 'EDGES(k) <= X < EDGES(k+1)'.  The final element of N
contains the number of elements of X exactly equal to the last
element of EDGES.


Hence, the number of ordinary bins is EDGES-1 and the last bin uses a
different inclusion criteria, but brings the total number to EDGES.  This is
Matlab-compatible.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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