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
Solution Comments
Show comments
Loading...
Problem Recent Solvers55
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3408 Solvers
-
431 Solvers
-
Back to basics 22 - Rotate a matrix
937 Solvers
-
824 Solvers
-
Sum the 'edge' values of a matrix
400 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!
you need more test cases for a uniquely understood algorithm behind the combination.
You must rescore all solutions!
The incorrect test suite has been corrected.
However, the main problem is still the lack of test cases, which only OP can rectify.