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

14 次查看(过去 30 天)
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?

采纳的回答

Thomas
Thomas 2013-4-17
It is asin, not arcsin.

更多回答(1 个)

Yao Li
Yao Li 2013-4-17
sind(45);
asind(0.7071);

类别

Help CenterFile Exchange 中查找有关 Trigonometry 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by