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

조회 수: 33 (최근 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 CenterFile Exchange에서 Programming Utilities에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by