Mercurial > hg > octave-nkf
diff scripts/polynomial/residue.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 | 836618fee9d6 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/scripts/polynomial/residue.m +++ b/scripts/polynomial/residue.m @@ -31,14 +31,14 @@ ## $$ ## @end tex ## @end iftex -## @ifinfo +## @ifnottex ## ## @example ## B(s) M r(m) N ## ---- = SUM ------------- + SUM k(i)*s^(N-i) ## A(s) m=1 (s-p(m))^e(m) i=1 ## @end example -## @end ifinfo +## @end ifnottex ## ## @noindent ## where @math{M} is the number of poles (the length of the @var{r}, @@ -69,7 +69,7 @@ ## $$ ## @end tex ## @end iftex -## @ifinfo +## @ifnottex ## ## @example ## s^2 + s + 1 -2 7 3 @@ -77,7 +77,7 @@ ## s^3 - 5s^2 + 8s - 4 (s-2) (s-2)^2 (s-1) ## @end example ## -## @end ifinfo +## @end ifnottex ## ## @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}) ## @deftypefnx {Function File} {[@var{b}, @var{a}] =} residue (@var{r}, @var{p}, @var{k}, @var{e}) @@ -128,14 +128,14 @@ ## $$ ## @end tex ## @end iftex -## @ifinfo +## @ifnottex ## ## @example ## -2 7 3 s^4 - 5s^3 + 9s^2 - 3s + 1 ## ----- + ------- + ----- + s = -------------------------- ## (s-2) (s-2)^2 (s-1) s^3 - 5s^2 + 8s - 4 ## @end example -## @end ifinfo +## @end ifnottex ## @seealso{poly, roots, conv, deconv, mpoles, polyval, polyderiv, polyinteg} ## @end deftypefn