Accelerating the pace of engineering and science

# Documentation Center

• Trial Software

# asind

Inverse sine in degrees

## Description

example

Y = asind(X) returns the inverse sine (sin-1) of the elements of X in degrees. The function's domain and range include complex values. For real elements of X in the domain [-1,1], asind returns values in the range [-90,90]. For values of X outside this range, asind returns complex values.

## Examples

expand all

### Inverse Sine of Scalar

Show that the inverse sine of 1 is exactly 90°.

```asind(1)
```
```ans =

90```

### Round-Trip Calculation for Complex Angles

Show that the inverse sine, followed by sine, returns the original values of X.

```sind(asind([2 3]))
```
```ans =

2.0000    3.0000```

### Graph of Inverse Sine Function

Plot the inverse sine function over the domain .

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

## Input Arguments

expand all

### X — Sine of anglescalar value | vector | matrix | N-D array

Sine of angle, specified as a real-valued or complex-valued scalar, vector, matrix, or N-D array. The asind operation is element-wise when X is nonscalar.

Data Types: single | double
Complex Number Support: Yes

## Output Arguments

expand all

### Y — Angle in degreesscalar value | vector | matrix | N-D array

Angle in degrees, returned as a real-valued or complex-valued scalar, vector, matrix, or N-D array of the same size as X.