Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 2;
y_correct = [0 0;
0 1;
1 0;
1 1];
assert(isequal(createTruthTable(x),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 createTruthTable (line 2)
In ScoringEngineTestPoint1 (line 6)
In solutionTest (line 3)]
|
2 | Pass |
x = 3;
y_correct = [0 0 0;
0 0 1;
0 1 0;
0 1 1;
1 0 0;
1 0 1;
1 1 0;
1 1 1];
assert(isequal(createTruthTable(x),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 createTruthTable (line 2)
In ScoringEngineTestPoint2 (line 10)
In solutionTest (line 5)]
|
Find the numeric mean of the prime numbers in a matrix.
6781 Solvers
Make one big string out of two smaller strings
1148 Solvers
Duplicate each element of a vector.
518 Solvers
260 Solvers
331 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!