Converting glcm 8*8 matrix to single row vector

how to convert 8*8 grey co matrix to to a single row vector??
A= image path;
glcm=graycomatrix(A);
this is the code that i"m using.

 Accepted Answer

Depending on the order you want, probably one of these:
reshape(glcm,1,[])
reshape(glcm.',1,[])

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!