Cody

Solution 1726469

Submitted on 13 Feb 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = 5; y = 12; mm = 13; assert(isequal(vector_magnitude(x, y),mm))

Undefined function or variable 'a'. Error in vector_magnitude (line 2) hypot(a,b); Error in Test1 (line 4) assert(isequal(vector_magnitude(x, y),mm))

2   Fail
x = 3; y = 4; mm = 5; assert(isequal(vector_magnitude(x, y),mm))

Undefined function or variable 'a'. Error in vector_magnitude (line 2) hypot(a,b); Error in Test2 (line 4) assert(isequal(vector_magnitude(x, y),mm))

3   Fail
x = 12; y = 35; mm = 37; assert(isequal(vector_magnitude(x, y),mm))

Undefined function or variable 'a'. Error in vector_magnitude (line 2) hypot(a,b); Error in Test3 (line 4) assert(isequal(vector_magnitude(x, y),mm))