acosd returns a complex number

2 次查看(过去 30 天)
Diana Dawoud
Diana Dawoud 2020-11-13
编辑: Stephen23 2020-11-13
I'm trying to find acosd(15/9) in matalb but i'm getting 0.0000 +62.9458i, what dose that mean?
  1 个评论
Stephen23
Stephen23 2020-11-13
编辑:Stephen23 2020-11-13
"I'm trying to find acosd(15/9) in matalb but i'm getting 0.0000 +62.9458i, what dose that mean?"
15/9
ans = 1.6667
What do you expect the arccosine to be for this value? Or, for that matter, for any value >1 ?

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by