Clear Filters
Clear Filters

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

Accepted Answer

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

More Answers (0)

Categories

Find more on Images 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!