I don't know how to fix "Index exceeds the number of array elements (1)".

1 回表示 (過去 30 日間)
Paris M.
Paris M. 2021 年 2 月 11 日
編集済み: Paris M. 2021 年 2 月 11 日
How to fix an "index exceeds the number of array elements (1) error"

採用された回答

Walter Roberson
Walter Roberson 2021 年 2 月 11 日
Your y0 is one number subtracted from another, not two numbers. When you want a negative number, put the negative sign immediately beside the number, 1 -1 or else use a comma between elements 1,- 1 but 1 - 1 is subtraction

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by