Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
s = 1;
y_correct = 6;
assert(isequal(even(s),y_correct))
s = -1;
y_correct = 8;
assert(isequal(even(s),y_correct))
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In even (line 2)
In ScoringEngineTestPoint1 (line 3)
In solutionTest (line 3)]
[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.]
[> In unix (line 32)
In even (line 2)
In ScoringEngineTestPoint1 (line 7)
In solutionTest (line 3)]
|
Remove any row in which a NaN appears
6827 Solvers
The Hitchhiker's Guide to MATLAB
2874 Solvers
Convert a vector into a number
503 Solvers
2455 Solvers
Find the Nth Root of a Given Number
187 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!