Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
%%
xy = [3,4; 0,0; 0,1; 1,1];
z_correct = 7;
assert(isequal(walked(xy),z_correct))
Error: You may not use the command(s) str2func in your code
|
2 | Fail |
%%
xy = [3,4; 0,0];
z_correct = 5;
assert(isequal(walked(xy),z_correct))
Error: You may not use the command(s) str2func in your code
|
3 | Fail |
%%
xy = [0,0; 5,12; 0,12];
z_correct = 18;
assert(isequal(walked(xy),z_correct))
Error: You may not use the command(s) str2func in your code
|
Find common elements in matrix rows
1231 Solvers
594 Solvers
Magic is simple (for beginners)
2749 Solvers
5111 Solvers
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!