Cody

Solution 1955332

Submitted on 2 Oct 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
p1=[1 2 3]; p2=[2 4 6]; y_correct = true; assert(isequal(isparallel(p1,p2),y_correct))

Error in solution: Line: 2 Column: 17 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

2   Fail
p1=[1 2 3]; p2=[2 5 6]; y_correct = false; assert(isequal(isparallel(p1,p2),y_correct))

Error in solution: Line: 2 Column: 17 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

3   Fail
p1=[666 911]; p2=[0.1 0.1*911/666]; y_correct = true; assert(isequal(isparallel(p1,p2),y_correct))

Error in solution: Line: 2 Column: 17 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

4   Fail
p1=[1 2 3]; p2=[0 0 0]; y_correct = false; assert(isequal(isparallel(p1,p2),y_correct))

Error in solution: Line: 2 Column: 17 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.