Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
p1=[1 2 3];
p2=[2 4 6];
y_correct = true;
assert(isequal(isparallel(p1,p2),y_correct))
|
2 | Pass |
p1=[1 2 3];
p2=[2 5 6];
y_correct = false;
assert(isequal(isparallel(p1,p2),y_correct))
|
3 | Pass |
p1=[666 911];
p2=[0.1 0.1*911/666];
y_correct = true;
assert(isequal(isparallel(p1,p2),y_correct))
|
4 | Pass |
p1=[1 2 3];
p2=[0 0 0];
y_correct = false;
assert(isequal(isparallel(p1,p2),y_correct))
|
Return the 3n+1 sequence for n
6168 Solvers
What is the distance from point P(x,y) to the line Ax + By + C = 0?
278 Solvers
Do Fast Fourier Transformation
221 Solvers
Flip the vector from right to left
2668 Solvers
509 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!