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 Solvers137
Suggested Problems
-
Determine whether a vector is monotonically increasing
22846 Solvers
-
First non-zero element in each column
942 Solvers
-
Relative ratio of "1" in binary number
1592 Solvers
-
find the roots of a quadratic equation
239 Solvers
-
Back to basics - mean of corner elements of a matrix
459 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).