Cody

Solution 1721405

Submitted on 5 Feb 2019 by Alfonso Nieto-Castanon
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 = [1,3;4,5]; d_correct = -7; assert(isequal(your_fcn_name(A),d_correct))

2   Pass
A = [6,0,0,5;1,7,2,-5;2,0,0,0;8,3,1,8]; d_correct = 10; assert(isequal(your_fcn_name(A),d_correct))

3   Pass
A = [1,0,4;2,3,2;0,5,-2]; d_correct = 24; assert(isequal(your_fcn_name(A),d_correct))

4   Pass
A = [4,0,-7,3,-5;0,0,2,0,0;7,3,-6,4,-8;5,0,5,2,-3;0,0,9,-1,2]; d_correct = 6; assert(isequal(your_fcn_name(A),d_correct))