Mercurial > octave
diff scripts/statistics/base/mean.m @ 8517:81d6ab3ac93c
Allow documentation tobe built for other formats than tex and info
author | sh@sh-laptop |
---|---|
date | Wed, 14 Jan 2009 20:44:25 -0500 |
parents | 83a8781b529d |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/scripts/statistics/base/mean.m Wed Jan 14 16:49:45 2009 -0500 +++ b/scripts/statistics/base/mean.m Wed Jan 14 20:44:25 2009 -0500 @@ -25,12 +25,12 @@ ## $$ {\rm mean}(x) = \bar{x} = {1\over N} \sum_{i=1}^N x_i $$ ## @end tex ## @end iftex -## @ifinfo +## @ifnottex ## ## @example ## mean (x) = SUM_i x(i) / N ## @end example -## @end ifinfo +## @end ifnottex ## If @var{x} is a matrix, compute the mean for each column and return them ## in a row vector. ##