Azzera filtri
Azzera filtri

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

10 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (1)

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

Categorie

Scopri di più su Programming Utilities in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by