the acos funtion will not accept negagive numbers (e.g. -075) . WHY?

4 views (last 30 days)
>> x = -1:.05:1;
plot(x,acos(x))
grid on
Subscript indices must either be real positive integers or logicals.

Accepted Answer

Walter Roberson
Walter Roberson on 6 Mar 2017
You have either defined a variable named "acos" or a variable named "plot"

More Answers (0)

Community Treasure Hunt

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

Start Hunting!