Mercurial > forge
changeset 2829:858c1169ebf2 octave-forge
Small modification.
author | sis-sou |
---|---|
date | Tue, 02 Jan 2007 09:21:54 +0000 |
parents | 35ecc0c62a26 |
children | 14132097e7eb |
files | main/general/inst/sind.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/main/general/inst/sind.m Fri Dec 29 16:57:39 2006 +0000 +++ b/main/general/inst/sind.m Tue Jan 02 09:21:54 2007 +0000 @@ -17,10 +17,10 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{y}] =} sind(@var{x}) ## sind compute the sine of an angle in degrees. -## @seealso{sin} +## @seealso{sin, cosd} ## @end deftypefn function y = sind(x) if (nargin == 0); usage('sind(x)'); end - y = sin(x.*2.*pi./360); + y = sin(x.*pi./180); endfunction; \ No newline at end of file