How can i reshape a matrix into a vector ?

3 views (last 30 days)
Hello ,
How can i reshape an array like this [10 20 30
40 50 60]
to :
[40
50
60
10
20
30]

Accepted Answer

Walter Roberson
Walter Roberson on 9 Dec 2020
reshape(flipud(A).',[],1)

More Answers (0)

Categories

Find more on Resizing and Reshaping Matrices 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!