This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
assert(isequal(McCabe('residue.m'),21));
%2x1 struct array with fields:
ans =
19
ans =
21
|
2 | Pass |
%%
assert(isequal(McCabe('polyeig.m'),18));
ans =
18
|
3 | Pass |
%%
assert(isequal(McCabe('roots.m'),7));
% message: 'The McCabe complexity of 'roots' is 7.'
ans =
7
|
4 | Pass |
%%
assert(isequal(McCabe('decic.m'),14));
%3x1 struct array with fields:
ans =
14
|
1091 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
Similar Triangles - find the height of the tree
203 Solvers
58 Solvers
Are all the three given point in the same line?
270 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!