MATLAB Answers

why do i get an error while using arcsin(x) function?

112 views (last 30 days)
Dany
Dany on 17 Apr 2013
hi, im trying to use the arcsin function but i keep getting an error. when using the sin function, it works fine: sin(degtorad(45))
ans =
0.7071
but when im trying to perform the invers calculation im getting error:
arcsin(0.7071)
Undefined function 'arcsin' for input arguments of type 'double'.
how to fix it?

  0 Comments

Sign in to comment.

Accepted Answer

Thomas
Thomas on 17 Apr 2013
It is asin, not arcsin.

  0 Comments

Sign in to comment.

More Answers (1)

Yao Li
Yao Li on 17 Apr 2013
sind(45);
asind(0.7071);

  0 Comments

Sign in to comment.

Tags

Products