Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Subscripted assignment dimension mismatch.

조회 수: 3 (최근 30일)
dharani m
dharani m 2015년 11월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
Error in MPR (line 18) qmprt(1,k)=id;

답변 (1개)

Jan
Jan 2015년 11월 1일
I suggest to search the error message in the internet at first.
Then set a breakpoint in this line and run the code again. When Matlab stops in this line, inspect the dimension of the locally used arrays:
size(k)
size(qmprt(1, k))
size(id)
Now you will find out - most likely - that the left hand side and the right hand side have different sizes and an assignment is impossible in consequence.
  댓글 수: 1
dharani m
dharani m 2015년 11월 6일
thank u sir.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by