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 | Pass |
x = 49;
y_correct = 7;
assert(isequal(square_root(x),y_correct))
|
2 | Pass |
x = 81;
y_correct = 9;
assert(isequal(square_root(x),y_correct))
|
Find all elements less than 0 or greater than 10 and replace them with NaN
11614 Solvers
612 Solvers
convert matrix to single column
217 Solvers
112 Solvers
250 Solvers