Hi, I am writing the following code:
for k = 1 : length(theFiles)
But when run, the result shows following:
Error using ==
Arrays have incompatible sizes for this operation.
Error in Untitled12 (line 264)
It is noteworthy that, the error shows only for certain image inputs. For other inputs, the code works fine.
How can I fix it?