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
Problem Comments
-
3 Comments
G K
on 12 May 2013
you need more test cases for a uniquely understood algorithm behind the combination.
Dan
on 13 May 2013
You must rescore all solutions!
Dyuman Joshi
on 17 Mar 2024
The incorrect test suite has been corrected.
However, the main problem is still the lack of test cases, which only OP can rectify.
Solution Comments
Show commentsProblem Recent Solvers52
Suggested Problems
-
948 Solvers
-
given 3 sides, find area of this triangle
790 Solvers
-
Find the "ordinary" or Euclidean distance between A and Z
159 Solvers
-
Find Index of maximum Value and maximum Value of a vector
160 Solvers
-
212 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!