Mercurial > forge
changeset 2656:b14973975fb0 octave-forge
Help added.
author | sis-sou |
---|---|
date | Tue, 10 Oct 2006 07:15:52 +0000 |
parents | db02f07279b2 |
children | 3608db77c872 |
files | main/specfun/inst/dirac.m main/specfun/inst/heaviside.m |
diffstat | 2 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/main/specfun/inst/dirac.m Tue Oct 10 00:21:24 2006 +0000 +++ b/main/specfun/inst/dirac.m Tue Oct 10 07:15:52 2006 +0000 @@ -14,9 +14,11 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -## DIRAC compute the dirac delta function. -## see also heaviside. -## +## -*- texinfo -*- +## @deftypefn {Function File} {} dirac(@var{x}) +## Compute the dirac delta function. +## @seealso{heaviside} +## @end deftypefn function y = dirac(x) if (nargin != 1)
--- a/main/specfun/inst/heaviside.m Tue Oct 10 00:21:24 2006 +0000 +++ b/main/specfun/inst/heaviside.m Tue Oct 10 07:15:52 2006 +0000 @@ -14,9 +14,11 @@ ## along with this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -## HEAVISIDE compute the heaviside step function. -## see also dirac. -## +## -*- texinfo -*- +## @deftypefn {Function File} {} heaviside(@var{x}) +## Compute the heaviside step function. +## @seealso{dirac} +## @end deftypefn function y = heaviside(x) if (nargin != 1)