This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 2;
y_correct = 10;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
2 | Fail |
x = 3;
y_correct = 36;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
3 | Fail |
x = 4;
y_correct = 136;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
4 | Fail |
x = 5;
y_correct = 528;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
5 | Fail |
x = 6;
y_correct = 2080;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
6 | Fail |
x = 7;
y_correct = 8256;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
7 | Fail |
x = 8;
y_correct = 32896;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
8 | Fail |
x = 15;
y_correct = 536887296;
assert(isequal(your_fcn_name(x),y_correct))
ans =
15625
|
464 Solvers
227 Solvers
Returning a "greater than" vector
188 Solvers
1173 Solvers
Basic commands - amount of inputs
134 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!