Cody

Solution 1633226

Submitted on 25 Sep 2018 by Jiahang Li
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
p=[10:15] q=[2:5] y_correct = [10 2; 11 2; 12 2; 13 2; 14 2; 15 2; 10 3; 11 3; 12 3; 13 3; 14 3; 15 3; 10 4; 11 4; 12 4; 13 4; 14 4; 15 4; 10 5; 11 5; 12 5; 13 5; 14 5; 15 5] assert(isequal(combineit(p,q),y_correct))

p = 10 11 12 13 14 15 q = 2 3 4 5 y_correct = 10 2 11 2 12 2 13 2 14 2 15 2 10 3 11 3 12 3 13 3 14 3 15 3 10 4 11 4 12 4 13 4 14 4 15 4 10 5 11 5 12 5 13 5 14 5 15 5 ans = 10 2 11 2 12 2 13 2 14 2 15 2 10 3 11 3 12 3 13 3 14 3 15 3 10 4 11 4 12 4 13 4 14 4 15 4 10 5 11 5 12 5 13 5 14 5 15 5