Cody

Solution 1629728

Submitted on 18 Sep 2018 by Suraj Gurav
  • Size: 10
  • This is the leading solution.
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   Pass
vm=[60 2; -30 4]; velo_correct=0; assert(isequal(colli(vm),velo_correct))

ans = []

2   Pass
vm=[60 2; -30 4; 100 2]; velo_correct=25; assert(isequal(colli(vm),velo_correct))

ans = []

Suggested Problems

More from this Author100