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

35 ビュー (過去 30 日間)
Dany
Dany 2013 年 4 月 17 日
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 Center および File ExchangeProgramming Utilities についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by