Info
This question is closed. Reopen it to edit or answer.
Subscripted assignment dimension mismatch.
3 views (last 30 days)
Show older comments
Error in MPR (line 18) qmprt(1,k)=id;
0 Comments
Answers (1)
Jan
on 1 Nov 2015
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 Comment
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!