acosd returns a complex number

4 views (last 30 days)
Diana Dawoud
Diana Dawoud on 13 Nov 2020
Edited: Stephen23 on 13 Nov 2020
I'm trying to find acosd(15/9) in matalb but i'm getting 0.0000 +62.9458i, what dose that mean?
  1 Comment
Stephen23
Stephen23 on 13 Nov 2020
Edited: Stephen23 on 13 Nov 2020
"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 ?

Sign in to comment.

Answers (0)

Categories

Find more on Instrument Control Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!