Mercurial > hg > octave-nkf
diff scripts/signal/sinewave.m @ 3457:e031284eea27
[project @ 2000-01-19 08:49:56 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 08:50:14 +0000 |
parents | 858695b3ed62 |
children | 38c61cbf086c |
line wrap: on
line diff
--- a/scripts/signal/sinewave.m +++ b/scripts/signal/sinewave.m @@ -22,8 +22,8 @@ ## The default value for @var{d} is 0. ## @end deftypefn -## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> -## Description: Compute a sine wave +## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> +## Description: Compute a sine wave function x = sinewave (m, n, d) @@ -33,6 +33,6 @@ usage ("sinewave (m, n, d)"); endif - x = sin ( ((1 : m) + d - 1) * 2 * pi / n); + x = sin (((1 : m) + d - 1) * 2 * pi / n); endfunction