Mercurial > hg > octave-nkf
comparison scripts/statistics/base/median.m @ 10821:693e22af08ae
Grammarcheck documentation of m-files
Add newlines between @item fields for readability.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 26 Jul 2010 21:25:36 -0700 |
parents | a8ce6bdecce5 |
children | 2b03258c240b |
comparison
equal
deleted
inserted
replaced
10820:c44c786f87ba | 10821:693e22af08ae |
---|---|
38 ## x(ceil(N/2)), N odd | 38 ## x(ceil(N/2)), N odd |
39 ## median(x) = | 39 ## median(x) = |
40 ## (x(N/2) + x((N/2)+1))/2, N even | 40 ## (x(N/2) + x((N/2)+1))/2, N even |
41 ## @end group | 41 ## @end group |
42 ## @end example | 42 ## @end example |
43 ## | |
43 ## @end ifnottex | 44 ## @end ifnottex |
44 ## If @var{x} is a matrix, compute the median value for each | 45 ## If @var{x} is a matrix, compute the median value for each |
45 ## column and return them in a row vector. If the optional @var{dim} | 46 ## column and return them in a row vector. If the optional @var{dim} |
46 ## argument is given, operate along this dimension. | 47 ## argument is given, operate along this dimension. |
47 ## @seealso{mean,mode} | 48 ## @seealso{mean,mode} |