Info
此问题已关闭。 请重新打开它进行编辑或回答。
what wrong in my for loop?
1 次查看(过去 30 天)
显示 更早的评论
Sir, Please help, where I'm wrong in the following code. I got an error like this .. Subscripted assignment dimension mismatch.
Error in one (line 15) target(:,i)=img_size(:); Please help me sir..
imgData=imageSet(filename,'recursive')
count = numel(imgData)
for i=1:count
img=read(imgData(i),1);
img_size=imresize(img,[100 100]);
img_size=double(img_size);
target(:,i)=img_size(:);
end
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!