Generate a Sequence in MATLAB
Mostrar comentarios más antiguos
I have a 2d NxN image L. I need to convert it to a sequence of pixels L1={k1,k2,....kNxN} row wise
Respuesta aceptada
Más respuestas (1)
Derek O'Connor
el 31 de En. de 2012
L1 = L(:)'
2 comentarios
Walter Roberson
el 31 de En. de 2012
That would not take the sequence "row-wise"; it would take them column-wise.
Derek O'Connor
el 31 de En. de 2012
Sorry, I hadn't noticed the "row-wise".
Categorías
Más información sobre Correlation and Convolution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!