asin, asinh

Purpose

Inverse sine and inverse hyperbolic sine.

Synopsis

Y = asin(X)
Y = asinh(X)

Description

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

asin(X) returns the inverse sine for each element of X. For real elements of X in the range [-1,1], asin(X) is in the range [-pi/2,pi/2]. For real elements of X outside the range [-1,1], asin(X) has nonzero imaginary parts.

asinh(X) returns the inverse hyperbolic sine for each element of X.

Examples

Graph the inverse sine function for the range -1 <= x <= 1.

x = -1:.05:1;
plot(x, asin(x))

Algorithm

See Also

atan2, cos, exp, funm, log, sin, sqrt, tan

(c) Copyright 1994 by The MathWorks, Inc.