MATLAB Function Reference
  Go to function:
    Search    Help Desk 
acos, acosh    Examples   See Also

Inverse cosine and inverse hyperbolic cosine

Syntax

Description

The acos and acosh functions operate element-wise on arrays. The functions' domains and ranges include complex values. All angles are in radians.

Y = acos(X) returns the inverse cosine (arccosine) for each element of X. For real elements of X in the domain , acos(X) is real and in the range . For real elements of X outside the domain , acos(X) is complex.

Y = acosh(X) returns the inverse hyperbolic cosine for each element of X.

Examples

Graph the inverse cosine function over the domain and the inverse hyperbolic cosine function over the domain

Algorithm

See Also

cos, cosh   Cosine and hyperbolic cosine



[ Previous | Help Desk | Next ]