how to solve 'Index exceeds the number of array elements (1)'?

1 回表示 (過去 30 日間)
Heya :)
Heya :) 2020 年 5 月 7 日
編集済み: Heya :) 2020 年 10 月 15 日
[MATLAB is showing this error "Index exceeds the number of array elements (1)

採用された回答

Akihumi
Akihumi 2020 年 5 月 7 日
Your x and y are single value, so it will have error when i==2.
You can make use of 'Pause on Errors' under the drop down menu of Run to analyse what's going wrong with the variables.

その他の回答 (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