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.59% Correct | 12.41% Incorrect
Last Solution submitted on Oct 31, 2025

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...
Dive Into Hands-On Learning at MATLAB EXPO 2025 – Register Now!
Get ready to roll up your sleeves at MATLAB EXPO 2025 –...
0

Problem Recent Solvers658

Suggested Problems

More from this Author28

Problem Tags

Community Treasure Hunt

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

Start Hunting!