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
|
Extract leading non-zero digit
1205 Solvers
Fahrenheit to Celsius converter
358 Solvers
Is this triangle right-angled?
2874 Solvers
168 Solvers
299 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!