Cody

Solution 1250018

Submitted on 11 Aug 2017
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
A = [1,0,0]; B = [5,3,0]; Z=[5,3,3]; y_correct = 5.830951894845301; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.

2   Fail
A = [1;0;0]; B = [5;3;0]; Z=[5;3;3]; y_correct = 5.830951894845301; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.

3   Fail
A = [0,0,0]; B = [4,3,0]; Z=[4,3,3]; y_correct = 5.830951894845301; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.

4   Fail
A = [0;0;0]; B = [4;3;0]; Z=[4;3;3]; y_correct = 5.830951894845301; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.

5   Fail
A = [0,3,0]; B = [4,0,0]; Z=[4,0,3]; y_correct = 5.830951894845301; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.

6   Fail
A = [0;3;0]; B = [4;0;0]; Z=[4;0;3]; y_correct = 5.830951894845301; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.

7   Fail
A = [0;3;0]; B = [4;0;0]; Z=[4;0;12]; y_correct = 13; assert(isequal(euclidean(A,B,Z),y_correct))

Error in solution Line: 2 Column: 8 The expression to the left of the equals sign is not a valid target for an assignment.