sin, sinh

Purpose

Sine and hyperbolic sine.

Synopsis

Y = sin(X)
Y = sinh(X)

Description

The trigonometric functions operate element-wise on matrices. Their domains and ranges include complex values. All angles are measured in radians.

sin(X) is the circular sine of the elements of X.

sinh(X) is the hyperbolic sine of the elements of X.

Examples

sin(pi) is not exactly zero, but rather a value the size of the floatingpoint accuracy, eps, because pi is not exactly equal to pi .

Algorithm

See Also

 acos, asin, atan, cos, exp, expm, funm, tan

(c) Copyright 1994 by The MathWorks, Inc.