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

14 vues (au cours des 30 derniers jours)
Dany
Dany le 17 Avr 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?

Réponse acceptée

Thomas
Thomas le 17 Avr 2013
It is asin, not arcsin.

Plus de réponses (1)

Yao Li
Yao Li le 17 Avr 2013
sind(45);
asind(0.7071);

Catégories

En savoir plus sur Trigonometry dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by