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 = 5;
y = 12;
mm = 13;
assert(isequal(vector_magnitude(x, y),mm))
|
2 | Pass |
%%
x = 3;
y = 4;
mm = 5;
assert(isequal(vector_magnitude(x, y),mm))
|
3 | Pass |
%%
x = 12;
y = 35;
mm = 37;
assert(isequal(vector_magnitude(x, y),mm))
|
1900 Solvers
516 Solvers
694 Solvers
3064 Solvers
272 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!