Cody

Solution 2046370

Submitted on 5 Dec 2019 by William
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
x=[1,2,3;0,4,5;1,0,6] y_correct = [24 -12 -2;5 3 -5;-4 2 4] assert(isequal(adjoint_mat(x),y_correct))

x = 1 2 3 0 4 5 1 0 6 y_correct = 24 -12 -2 5 3 -5 -4 2 4

2   Pass
x=[1,7;2,0] y_correct = [0 -7;-2 1] assert(isequal(adjoint_mat(x),y_correct))

x = 1 7 2 0 y_correct = 0 -7 -2 1