How to transform an image into a 1D data matrix by scanning it from left to right and then up to down? kindly send the code

1 次查看(过去 30 天)
How to transform an image into a 1D data matrix by scanning it from left to right and then up to down? Kindly send the code.

采纳的回答

KSSV
KSSV 2018-1-5
% 2D matrix
A = rand(10,20) ;
B = A' ;
iwant = B(:) ;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by