Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 456;
y_correct = 544;
assert(isequal(Ten_Comp(x),y_correct))
|
2 | Pass |
x = 125;
y_correct = 875;
assert(isequal(Ten_Comp(x),y_correct))
|
3 | Pass |
x = 56;
y_correct = 44;
assert(isequal(Ten_Comp(x),y_correct))
|
4 | Pass |
x = 6;
y_correct = 4;
assert(isequal(Ten_Comp(x),y_correct))
|
5 | Pass |
x = 1456;
y_correct = 8544;
assert(isequal(Ten_Comp(x),y_correct))
|
6 | Pass |
x = 0;
y_correct = 10;
assert(isequal(Ten_Comp(x),y_correct))
|
Replace NaNs with the number that appears to its left in the row.
2018 Solvers
235 Solvers
284 Solvers
Solve the set of simultaneous linear equations
273 Solvers
Make a random, non-repeating vector.
2795 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!