When do we get the below error in Matlab?

1 件のコメント

Mahmoud Ashraf
Mahmoud Ashraf 2022 年 3 月 28 日
can you write your code ?

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

 採用された回答

per isakson
per isakson 2022 年 3 月 28 日
編集済み: per isakson 2022 年 3 月 28 日

1 投票

Example
A = 17; % A is a scalar
A(2) % there is no element with index 2
Index exceeds the number of array elements. Index must not exceed 1.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

タグ

質問済み:

2022 年 3 月 28 日

編集済み:

2022 年 3 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by