Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n1 = 758; n2 = 469;
y_correct = 2453;
assert(isequal(digitrange(n1,n2),y_correct))
ans =
2453
|
2 | Pass |
%%
n1 = 6.23e4; n2 = 12;
y_correct = 124623;
assert(isequal(digitrange(n1,n2),y_correct))
ans =
124623
|
2486 Solvers
2980 Solvers
251 Solvers
163 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
297 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!