Re: ”histc”''s bug?

classic Classic list List threaded Threaded
1 message Options
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

Re: ”histc”''s bug?

Hello,

Le 20/05/2020 à 16:29, fujimoto2005 a écrit :

> I think "histc" has a some bug.
> The following sample code of the help file does't work.
>
> **********************
> data = [1 1 1 2 2 3 4 4 5 5 5 6 6 7 8 8 9 9 9];
> N = size(data,"*")   // ==19
>
> // Default binning; "sqrt": sqrt(19) => 4. .. => 4 bins
> [h, j, b, i] = histc(data)
> [h, j, b, i] = histc(data,10)
> h= histc(data,10)
> *********************

> Le 23/05/2020 à 12:41, Masahiro Fujimoto a écrit :
> Please see.
> --> [v,o] = getversion()
>  o  =
> !VC++  x64  tk  modelicac  release  Feb 14 2019  10:31:37  !
>  v  =
>  scilab-6.0.2

The example is taken from the documentation of the 6.1.0 release,
and illustrates some new features among the many ones introduced
in this release.
This is why this extension can't run on 6.0.2, although histc() is fully
back-compatible.

Best regards

Samuel


_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users