This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 101;
y_correct = 3;
assert(isequal(HowManyDigits(x),y_correct))
|
2 | Pass |
%%
x=1203;
y_correct = 4;
assert(isequal(HowManyDigits(x),y_correct))
|
Matrix indexing with two vectors of indices
485 Solvers
Matrix which contains the values of an other matrix A at the given locations.
214 Solvers
2145 Solvers
241 Solvers
309 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!