Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
nums = [0,1,10,25,26,52,100,260];
words = {'a','b','k','z','ba','ca','dw','ka'};
for n=1:length(nums)
assert(strcmpi(words{n},dec2alpha(nums(n))));
end
|
2 | Pass |
nums = [35664,62366];
words = {'cats','dogs'};
for n=1:length(nums)
assert(strcmpi(words{n},dec2alpha(nums(n))));
end
|
3 | Pass |
assert(strcmpi('matlab', dec2alpha(142917893)));
|
2486 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
Replace all zeros and NaNs in a matrix with the string 'error'
90 Solvers
274 Solvers
124 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!