Converting glcm 8*8 matrix to single row vector

11 views (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)

Categories

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!