Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
r=2; d=3; c=counteradix(r,d);
c_correct = {'000' '001' '010' '011' '100' '101' '110' '111'};
assert(isequal(c,c_correct))
|
2 | Pass |
%%
assert(isequal(counteradix(3,2),{'00' '01' '02' '10' '11' '12' '20' '21' '22'}))
|
Numbers with prime factors 2, 3 and 5.
166 Solvers
401 Solvers
253 Solvers
185 Solvers
406 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!