error when fixing matrik size

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에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by