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