How to get a monotonous result of 'acos'?

3 views (last 30 days)
Schedir
Schedir on 23 Mar 2016
Commented: random09983492 on 23 Mar 2016
When I try to calculate the inverse cosine of a periodic x, for instance:
a = -10 : 0.1 :10;
x = cos(a);
And then try to use 'acos(x)', I get:
So my question is, how can I get the original * a*? Or more precisely, how can I get a monotonous result of acos(x)?
(Hope I have expressed myself clearly enough...> <)
  1 Comment
random09983492
random09983492 on 23 Mar 2016
Think about how the input to a cosine works... ie cos(0) = cos(2*pi)

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!