Cody

Solution 1841198

Submitted on 6 Jun 2019 by Qiaoli Xie
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   Pass
xyz = [1 -1 2; 0 2 5; 4 0 -3]; abc = [21; 21; 21]; y_correct = [ 9 -2 5 ]; assert(sum((transpose(answerMe(xyz,abc))-y_correct))<0.01)

2   Pass
xyz = [1 2; 1 -2]; abc = [3; -1]; y_correct = [ 1 1]; assert(isequal(nnz(answerMe(xyz,abc)-y_correct),0))

Suggested Problems

More from this Author43