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

1 次查看(过去 30 天)
>> x = -1:.05:1;
plot(x,acos(x))
grid on
Subscript indices must either be real positive integers or logicals.

采纳的回答

Walter Roberson
Walter Roberson 2017-3-6
You have either defined a variable named "acos" or a variable named "plot"

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Gamma Functions 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by