how can i solved this problem when i'm trying to combine to fixed matrik size
Attempted to access A(46,101); index out of bounds because size(A)=[100,100]
sorry for bad english :p

1 件のコメント

Mark
Mark 2013 年 6 月 5 日
編集済み: Mark 2013 年 6 月 5 日
It's not clear what you are trying to do. But, you tried to access to a matrix element that does not exist. What is the code that gave you this error?

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

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 5 日

0 投票

A=[1 2 3 ; 4 5 6]
the size of A is 2x3, you will get an error if you write
A(4,1)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Debugging and Improving Code についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by