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

14 Ansichten (letzte 30 Tage)
Dany
Dany am 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?

Akzeptierte Antwort

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

Weitere Antworten (1)

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

Kategorien

Mehr zu Trigonometry finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by