Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 'cody';
y_correct = [13 33 14 51];
assert(isequal(polybius(x),y_correct))
|
2 | Pass |
%%
x = 'polybius';
y_correct = [34 33 26 51 12 23 43 41];
assert(isequal(polybius(x),y_correct))
|
3 | Pass |
%%
x = 'i love matlab';
y_correct = [23 0 26 33 44 15 0 31 11 42 26 11 12];
assert(isequal(polybius(x),y_correct))
|
1800 Solvers
128 Solvers
613 Solvers
The Answer to Life, the Universe, and Everything
383 Solvers
531 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!