Skip to Main Content Skip to Search
Product Documentation

asin - Inverse sine; result in radians

Syntax

Y = asin(X)

Description

Y = asin(X) returns the inverse sine (arcsine) for each element of X. The asin function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians. For real elements of X in the domain [-1,1], asin(X) is in the range

For real elements of x outside the range [-1,1], asin(X) is complex.

Definitions

The arcsine is defined as:

Examples

Graph the inverse sine function over the domain –1 ≤ x ≤ 1.

x = -1:.01:1; 
plot(x,asin(x)), grid on

See Also

asind | sin | sind

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS