Matlab Basics - Convert a row vector to a column vector - MATLAB Cody - MATLAB Central

Problem 2857. Matlab Basics - Convert a row vector to a column vector

Difficulty:Rate

Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any row vector of any length

Solution Stats

87.37% Correct | 12.63% Incorrect
Last Solution submitted on Apr 23, 2025

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers644

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page