Problem 43314. Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1.
Change matrix to vector.
x =
4 3 5 1 5 1
input x should change to output y.
y =
4 5 5 3 1 1
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers194
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1897 Solvers
-
539 Solvers
-
07 - Common functions and indexing 3
419 Solvers
-
5135 Solvers
-
Matrix of almost all zeros, except for main diagonal
184 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!