comparison scripts/statistics/base/ranks.m @ 6046:34f96dd5441b

[project @ 2006-10-10 16:10:25 by jwe]
author jwe
date Tue, 10 Oct 2006 16:10:31 +0000
parents 2a16423e4aa0
children 93c65f2a5668
comparison
equal deleted inserted replaced
6045:421d8a903df7 6046:34f96dd5441b
35 ## even uglier!!! At least it handles NDArrays.. 35 ## even uglier!!! At least it handles NDArrays..
36 36
37 function y = ranks (x, dim) 37 function y = ranks (x, dim)
38 38
39 if (nargin != 1 && nargin != 2) 39 if (nargin != 1 && nargin != 2)
40 usage ("ranks (x, dim)"); 40 print_usage ();
41 endif 41 endif
42 42
43 nd = ndims (x); 43 nd = ndims (x);
44 sz = size (x); 44 sz = size (x);
45 if (nargin != 2) 45 if (nargin != 2)