Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 456;
y_correct = 543;
assert(isequal(nine_Comp(x),y_correct))
y =
543
|
2 | Pass |
x = 125;
y_correct = 874;
assert(isequal(nine_Comp(x),y_correct))
y =
874
|
3 | Pass |
x = 56;
y_correct = 43;
assert(isequal(nine_Comp(x),y_correct))
y =
43
|
4 | Pass |
x = 6;
y_correct = 3;
assert(isequal(nine_Comp(x),y_correct))
y =
3
|
5 | Pass |
x = 1456;
y_correct = 8543;
assert(isequal(nine_Comp(x),y_correct))
y =
8543
|
6 | Pass |
x = 0;
y_correct = 9;
assert(isequal(nine_Comp(x),y_correct))
y =
9
|
Generate a random matrix A of (1,-1)
211 Solvers
227 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
359 Solvers
379 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!