Info
此问题已关闭。 请重新打开它进行编辑或回答。
Subscripted assignment dimension mismatch.
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
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 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!