Srtr2func, classic way:)a new thing learned.
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
a = [2 3 4];
assert(isequal(isItSquared(a),true))
Error: You may not use the command(s) str2func in your code
|
2 | Fail |
%%
a = [20:30];
assert(isequal(isItSquared(a),false))
Error: You may not use the command(s) str2func in your code
|
3 | Fail |
%%
a = [1];
assert(isequal(isItSquared(a),true))
Error: You may not use the command(s) str2func in your code
|
4 | Fail |
%%
a = [6 10 12 14 36 101];
assert(isequal(isItSquared(a),true))
Error: You may not use the command(s) str2func in your code
|
5 | Fail |
%%
a = [6 10 12 14 101];
assert(isequal(isItSquared(a),false))
Error: You may not use the command(s) str2func in your code
|
616 Solvers
221 Solvers
The Answer to Life, the Universe, and Everything
312 Solvers
What is Sum Of all elements of Matrix
215 Solvers
315 Solvers