Weave the two given vectors into one as shown below.
Example:
If
a = [1 1 1] b = [0 0 0]
then
y = [1 0 1 0 1 0]
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers138
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1651 Solvers
-
237 Solvers
-
569 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1264 Solvers
-
Number of odd and even elements within matrix
160 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Please change the function call in the test suite to your_fcn_name(a,b) rather than your_fcn_name(x).