Weave two matrices together to form one matrix - MATLAB Cody - MATLAB Central

Problem 43675. Weave two matrices together to form one matrix

Difficulty:|Rate

Take the first column from matrix a, then insert the first column from matrix b, and so on. For example:

 a = [1 2 3 4];
 b = [5 6 7 8];
 c = [1 5 2 6 3 7 4 8];

Solution Stats

33.45% Correct | 66.55% Incorrect
Last Solution submitted on Dec 30, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers82

Suggested Problems

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