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

306 Solutions

203 Solvers

Last Solution submitted on Feb 05, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers203

Suggested Problems

More from this Author27

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!