comparison scripts/statistics/base/cut.m @ 5428:2a16423e4aa0

[project @ 2005-08-23 18:38:27 by jwe]
author jwe
date Tue, 23 Aug 2005 18:38:28 +0000
parents 4c8a2e4e0717
children 34f96dd5441b
comparison
equal deleted inserted replaced
5427:a92afe70fb8d 5428:2a16423e4aa0
30 ## which group each point in @var{x} belongs to. Groups are labelled 30 ## which group each point in @var{x} belongs to. Groups are labelled
31 ## from 1 to the number of groups; points outside the range of 31 ## from 1 to the number of groups; points outside the range of
32 ## @var{breaks} are labelled by @code{NaN}. 32 ## @var{breaks} are labelled by @code{NaN}.
33 ## @end deftypefn 33 ## @end deftypefn
34 34
35 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> 35 ## Author: KH <Kurt.Hornik@wu-wien.ac.at>
36 ## Description: Cut data into intervals 36 ## Description: Cut data into intervals
37 37
38 function group = cut (X, BREAKS) 38 function group = cut (X, BREAKS)
39 39
40 if (nargin != 2) 40 if (nargin != 2)