help-octave
[Top][All Lists]
Advanced

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

Re: Histc under octave


From: Avinoam
Subject: Re: Histc under octave
Date: Sun, 30 Apr 2017 20:56:33 -0700 (PDT)

Indeed there is incompatibility between Matlab and Octave when EDGES is
empty,
See bug 49944 [1]. This bug was fixed in the development branch of Octave,
and will be available
in the next major release of Octave. 
You can see the fix in [2].
If you want to fix it your self, you can edit histc.m, and replace the line:

error ("histc: EDGES must not be empty");

with the lines:

    warning ("histc: empty EDGES specified\n");
    n = idx = [];
    return;


Good luck, 

Avinoam


[1] [https://savannah.gnu.org/bugs/?49944]  
[2] [http://hg.savannah.gnu.org/hgweb/octave/rev/af64b6b61db9]




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Histc-under-octave-tp4683039p4683121.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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