Mercurial > hg > octave-nkf
diff scripts/statistics/base/median.m @ 11587:c792872f8942
all script files: untabify and strip trailing whitespace
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Jan 2011 17:35:29 -0500 |
parents | fd0a3ac60b0e |
children | d0b799dafede |
line wrap: on
line diff
--- a/scripts/statistics/base/median.m +++ b/scripts/statistics/base/median.m @@ -95,7 +95,7 @@ %! x2 = x'; %! y = [1, 2, 3, 4, 5, 6, 7]; %! y2 = y'; -%! +%! %! assert(median (x) == median (x2) && median (x) == 3.5); %! assert(median (y) == median (y2) && median (y) == 4); %! assert(median ([x2, 2*x2]) == [3.5, 7]);