Converting glcm 8*8 matrix to single row vector

1 view (last 30 days)
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

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!