arcsin

Purpose

Computes the inverse sine.

Format

y = arcsin(x)
Parameters:x (NxK matrix or N-dimensional array) –
Returns:y (NxK matrix or N-dimensional array) – the angle in radians whose sine is x.

Examples

// Set 'x' to be the sequence -1, -0.5, 0, 0.5, 1
x = seqa(-1, 0.5, 5);
y = arcsin(x);

Assigns y to be equal to:

-1.5707963
-0.52359878
 0.00000000
 0.52359878
 1.5707963

Remarks

If x is complex or has any elements whose absolute value is greater than 1, complex results are returned.

Source

trig.src