Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n=1;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
tf =
1
|
2 | Pass |
n=0;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
tf =
1
|
3 | Pass |
n=153;
y_correct=0;
assert(isequal(ismunch(n),y_correct))
tf =
0
|
4 | Pass |
n=634;
y_correct=0;
assert(isequal(ismunch(n),y_correct))
tf =
0
|
5 | Pass |
n=3435;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
tf =
1
|
6 | Pass |
n=3534;
y_correct=0;
assert(isequal(ismunch(n),y_correct))
tf =
0
|
7 | Pass |
n=438579088;
y_correct=1;
assert(isequal(ismunch(n),y_correct))
tf =
1
|
Renaming a field in a structure array
731 Solvers
Numbers with prime factors 2, 3 and 5.
166 Solvers
Back to basics 20 - singleton dimensions
254 Solvers
Determine Whether an array is empty
646 Solvers
273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!