MATLAB Answers


How to fix subscription assignment mismatched ?

Asked by Javaid Iqbal on 27 Oct 2018
Latest activity Commented on by Javaid Iqbal on 28 Oct 2018
I'm facing this error in Matlab please help to solve it. Thanks Error: Subscripted assignment dimension mismatch.
Error in Train_Module_SIFT (line 60) feat1(featureRow,:)=kpd;


Upload your code and required data files
Thanks Sir I found a solution. Very thanks for your assistance

Sign in to comment.

1 Answer

Answer by Image Analyst
on 27 Oct 2018
 Accepted Answer

kpd is a vector that does not have the same number of columns as feat1. Put this before that line
whos feat1
whos kpd
Also see this link


Sign in to comment.