Generate a Sequence in MATLAB
Show older comments
I have a 2d NxN image L. I need to convert it to a sequence of pixels L1={k1,k2,....kNxN} row wise
Accepted Answer
More Answers (1)
Derek O'Connor
on 31 Jan 2012
L1 = L(:)'
2 Comments
Walter Roberson
on 31 Jan 2012
That would not take the sequence "row-wise"; it would take them column-wise.
Derek O'Connor
on 31 Jan 2012
Sorry, I hadn't noticed the "row-wise".
Categories
Find more on Correlation and Convolution 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!