Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 4096;n=4;
y_correct = 8;
assert(isequal(nth_root(x,n),y_correct))
ans =
8
|
2 | Pass |
x = 256;n=4;
y_correct = 4;
assert(isequal(nth_root(x,n),y_correct))
ans =
4
|
Convert a vector into a number
503 Solvers
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
292 Solvers
156 Solvers
1141 Solvers
555 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!