asin

Returns the inverse sine (in radians) of a

Syntax

R = asin(a)

Inputs

a
Any valid scalar | vector | matrix
Type: double | integer
Dimension: scalar | vector | matrix

Outputs

R in radians
scalar | vector | matrix

Examples

Simple scalar input:
R = asin(-2)
R = -1.5708 + 1.31696i
Matrix input:
R = asin([2,3,4])
R = [ 1.5708-1.31696i, 1.5708-1.76275i, 1.5708-2.06344i]
Complex matrix input:
R = asin([i+1,-2-i, 6i, 1])
R = [ 0.666239 + 1.06128i, -1.06344-1.46935i, 2.49178i, 1.5708]