Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

asin

Inverse sine in radians

Syntax

y = asin(x)

Description

y = asin(x) returns the Inverse Sine (sin-1) of the elements of x. The asin function operates element-wise on arrays. For real elements of x in the interval [-1,1], asin(x) returns values in the interval [-pi/2,pi/2]. For real elements of x outside the interval [-1,1] and for complex values of x, asin(x) returns complex values. All angles are in radians.

Examples

collapse all

asin(0.5)
ans =

    0.5236

Find the inverse sine of the elements of vector x. The asin function acts on x element-wise.

x = [0.5i 1+3i -2.2+i];
y = asin(x)
y =

   0.0000 + 0.4812i   0.3076 + 1.8642i  -1.1091 + 1.5480i

Graph the inverse sine over the domain $-1 \le x \le 1$.

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

More About

collapse all

Inverse Sine

The inverse sine is defined as

sin1(z)=ilog[iz+(1z2)1/2].

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| |

Introduced before R2006a


Was this topic helpful?