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 = [2 2]
y_correct = sqrt(8);
assert(isequal(your_fcn_name(x),y_correct))
x =
2 2
ans =
2.8284
|
239 Solvers
299 Solvers
Switch matrix to a column vector
189 Solvers
1320 Solvers
281 Solvers