Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = 1;
N = 100
y_correct = 1;
assert(isequal(rootN(a,N),y_correct))
N =
100
ans =
1
|
2 | Pass |
a = [1 64 216];
N = 3
y_correct = [1 4 6];
assert(isequal(rootN(a,N),y_correct))
N =
3
ans =
1 4 6
|
3 | Pass |
a = 1/100;
N = 2
y_correct = 1/10;
assert(isequal(rootN(a,N),y_correct))
N =
2
ans =
0.1000
|
4 | Pass |
a = 826^10;
N = 10
y_correct = 826;
assert(isequal(rootN(a,N),y_correct))
N =
10
ans =
826
|
Back to basics 9 - Indexed References
392 Solvers
Implement simple rotation cypher
943 Solvers
Reverse the elements of an array
687 Solvers
314 Solvers
555 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!