Cody

Solution 1887001

Submitted on 29 Jul 2019 by Gergely Patay
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
A = pascal(3); b=[3; 1; 4]; y_correct = [10;-12; 5;] assert(isequal(solveSystem(A,b),y_correct))

y_correct = 10 -12 5 ans = 10 -12 5

2   Pass
A = eye(3); b=[3; 1; 4]; y_correct = [3;1;4] assert(isequal(solveSystem(A,b),y_correct))

y_correct = 3 1 4 ans = 3 1 4