Mercurial > forge
changeset 3974:cf9bfb701560 octave-forge
Some texinfo doc fixes for communications toolbox
author | adb014 |
---|---|
date | Sat, 27 Oct 2007 15:14:40 +0000 |
parents | 691f8f877a61 |
children | cba416484b80 |
files | main/comm/doc/comms.txi main/comm/inst/amdemod.m main/comm/inst/qfunc.m main/comm/inst/qfuncinv.m main/fixed/doc/fixed.txi |
diffstat | 5 files changed, 15 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/main/comm/doc/comms.txi Fri Oct 26 12:44:59 2007 +0000 +++ b/main/comm/doc/comms.txi Sat Oct 27 15:14:40 2007 +0000 @@ -2,7 +2,7 @@ @setfilename comms.info -@settitle +@settitle Communications Toolbox for Octave @titlepage @title Communications Toolbox for Octave
--- a/main/comm/inst/amdemod.m Fri Oct 26 12:44:59 2007 +0000 +++ b/main/comm/inst/amdemod.m Sat Oct 27 15:14:40 2007 +0000 @@ -15,8 +15,9 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{m}] =} amdemod(@var{s},@var{fc},@var{fs}) -## Compute the amplitude demodulation of the signal S with a carrier freauency of fc and a sample frequency of fs. +## @deftypefn {Function File} {[@var{m}] =} amdemod (@var{s}, @var{fc}, @var{fs}) +## Compute the amplitude demodulation of the signal @var{s} with a carrier +## frequency of @var{fc} and a sample frequency of @var{fs}. ## @seealso{ammod} ## @end deftypefn
--- a/main/comm/inst/qfunc.m Fri Oct 26 12:44:59 2007 +0000 +++ b/main/comm/inst/qfunc.m Sat Oct 27 15:14:40 2007 +0000 @@ -15,12 +15,12 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{y}] =} qfunc(@var{x}) -## Compute the Q function. +## @deftypefn {Function File} {[@var{y}] =} qfunc (@var{x}) +## Compute the Q function. ## @seealso{erfc, erf} ## @end deftypefn function y = qfunc(x) if (nargin < 1); usage('qfunc(x)'); end y = 1-normcdf(x); - \ No newline at end of file +
--- a/main/comm/inst/qfuncinv.m Fri Oct 26 12:44:59 2007 +0000 +++ b/main/comm/inst/qfuncinv.m Sat Oct 27 15:14:40 2007 +0000 @@ -15,12 +15,14 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{y}] =} qfuncinv(@var{x}) -## Compute the inverse Q function. +## @deftypefn {Function File} {[@var{y}] =} qfuncinv (@var{x}) +## Compute the inverse Q function. ## @seealso{erfc, erf} ## @end deftypefn function y = qfuncinv(x) - if (nargin < 1); usage('qfuncinv(x)'); end - y = -norminv(x); - + if (nargin < 1); + usage('qfuncinv(x)'); + end + y = -norminv(x); +endfunction