How to create an array from an mxn size matrix where the elements are the elements of the subsequent columns?
Show older comments
Create an array from an mxn size matrix where the elements are the elements of the subsequent columns.
1 Comment
James Tursa
on 9 Jul 2015
Please give a short example of input and output. Also post what you have done so far.
Answers (1)
Azzi Abdelmalek
on 9 Jul 2015
Edited: Azzi Abdelmalek
on 9 Jul 2015
A(:)
or
reshape(A,[],1)
Categories
Find more on Matrix Indexing 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!