This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
v = [1 2];
y_correct = [1 1; 1 2];
assert(isequal(count_to_v(v),y_correct))
|
2 | Pass |
v = [3 2];
y_correct = [1 1; 1 2; 2 1; 2 2; 3 1; 3 2];
assert(isequal(count_to_v(v),y_correct))
|
1421 Solvers
116 Solvers
Back to basics 24 - Symbolic variables
129 Solvers
Convert from Base 10 to base 5
203 Solvers
Is this triangle right-angled?
2394 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!