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))
m =
13
|
2 | Pass |
x = 3;
y = 4;
mm = 5;
assert(isequal(vector_magnitude(x, y),mm))
m =
5
|
3 | Pass |
x = 12;
y = 35;
mm = 37;
assert(isequal(vector_magnitude(x, y),mm))
m =
37
|
2401 Solvers
1600 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
Area of an equilateral triangle
2758 Solvers
Create sequnce 1 4 9 16 25.........
190 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!