HOW TO RESOLVE THE ERROR UNDEFINED FUNCTION OR METHOD 'ANY' FOR INPUT ARGUMENTS OF TYPE 'CELL'?

1 view (last 30 days)
I get this error:
* *??? UNDEFINED FUNCTION OR METHOD 'ANY' FOR INPUT ARGUMENTS OF TYPE 'CELL'* *
when I try to run the following function:
funtion glcm = normalizeGLCM(glcm)
if any(glcm(:)) %% the error is here
glcm = glcm./sum(glcm(:));
end

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!