Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = [1 2 3];
y_correct = [1 2 4];
assert(isequal(incrementor(x),y_correct))
ans =
[]
|
2 | Pass |
x = [1 9 1 9];
y_correct = [1 9 2 0];
assert(isequal(incrementor(x),y_correct))
ans =
[]
|
3 | Pass |
x = [9 9 9];
y_correct = [1 0 0 0];
assert(isequal(incrementor(x),y_correct))
ans =
[]
|
Sort a list of complex numbers based on far they are from the origin.
4327 Solvers
Find the largest value in the 3D matrix
1056 Solvers
Determine the number of odd integers in a vector
435 Solvers
412 Solvers
Create an index-powered vector
352 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!