Cody

Problem 1497. Make combination of two given matrices.

Make a combination of the two given matrices as a given example.

Example:

 input1 = [1 2 3; 4 5 6];
 input2 = [7 8; 9 10];
 output=   1     2     3     1     2     3
           4     5     6     4     5     6
           7     7     7     8     8     8
           9     9     9    10    10    10

Solution Stats

73.47% Correct | 26.53% Incorrect
Last solution submitted on Mar 22, 2016

Problem Comments

Tags

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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Join the 15-year community celebration.

Play games and win prizes!

Learn more