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

4 ビュー (過去 30 日間)
Timothy Goldsmith
Timothy Goldsmith 2017 年 3 月 6 日
コメント済み: Timothy Goldsmith 2017 年 3 月 7 日
>> 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"
  1 件のコメント
Timothy Goldsmith
Timothy Goldsmith 2017 年 3 月 7 日
Many thanks. Several seemingly unrelated things generate that error message.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePole and Zero Locations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by