Converting glcm 8*8 matrix to single row vector
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
IP student ;(
am 31 Jan. 2019
Kommentiert: madhan ravi
am 31 Jan. 2019
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.
0 Kommentare
Akzeptierte Antwort
Stephen23
am 31 Jan. 2019
Bearbeitet: Stephen23
am 31 Jan. 2019
Depending on the order you want, probably one of these:
reshape(glcm,1,[])
reshape(glcm.',1,[])
1 Kommentar
madhan ravi
am 31 Jan. 2019
Also
glcm(:).' % but definitely reshape is faster
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!