How to fix subscription assignment mismatched ?

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;

2 Comments

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

Sign in to comment.

 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

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!