MATLAB: Why do i get an error while using arcsin(x) function

arcsinMATLABsin

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?

Best Answer

It is asin, not arcsin.
Related Question