Cody

Problem 1587. Switch matrix to a column vector

Solution 1952344

Submitted on 29 Sep 2019 by Asad (Mehrzad) Khoddam
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = [9 6 3; 5 4 1]; y_correct = [9 5 6 4 3 1]' assert(isequal(your_fcn_name(x),y_correct))

y_correct = 9 5 6 4 3 1

Suggested Problems

More from this Author8

Community Treasure Hunt

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

Start Hunting!