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];
The problem description and title have been improved while the test suite has been expanded to include matrices (not just vectors).
7269 Solvers
1786 Solvers
Get the area codes from a list of phone numbers
417 Solvers
Duplicate each element of a vector.
455 Solvers
689 Solvers