Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
a = [0,0; 1,1];
b = [0,1; 1,0];
tf_correct = true;
assert(isequal(intersecting(a,b),tf_correct ))
tf =
logical
1
|
2 | Pass |
a = [0,0; 1,0];
b = [0,1; 1,1];
tf_correct = false;
assert(isequal(intersecting(a,b),tf_correct ))
|
3 | Pass |
a = [0,0; 1,0];
b = [2,0; 3,0];
tf_correct = false;
assert(isequal(intersecting(a,b),tf_correct ))
|
4 | Pass |
a = [4 3;6 8];
b = [3 7;6 9];
tf_correct = false;
assert(isequal(intersecting(a,b),tf_correct ))
|
5 | Pass |
a = [6 2;6 9];
b = [7 6;4 5];
tf_correct = true;
assert(isequal(intersecting(a,b),tf_correct ))
tf =
logical
1
|
6 | Pass |
a = [3 -3;-2 -2];
b = [-1 1;0 -4];
tf_correct = true;
assert(isequal(intersecting(a,b),tf_correct ))
tf =
logical
1
|
797 Solvers
How to find the position of an element in a vector without using the find function
2319 Solvers
158 Solvers
Set some matrix elements to zero
228 Solvers
1320 Solvers