Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 1598. Weave two vectors into one

Created by Przemyslaw

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]

Problem Group

Solution Statistics

41 correct solutions 35 incorrect solutions
Last solution submitted on May 17, 2015

Problem Comments