This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
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))
|
First non-zero element in each column
593 Solvers
Output any real number that is neither positive nor negative
316 Solvers
What is Sum Of all elements of Matrix
292 Solvers
167 Solvers
214 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!