I've improved grammar in this problem and updated it with a test case ensuring that the det() function is not used. Rescoring of previous answers will take time to propagate, though
I also modified the test suite to check for sums of absolute errors under a threshold value rather than isequal(), since that can fail when the answer isn't composed purely of integers.
I see you! :)
Refactor?
6071 Solvers
3378 Solvers
248 Solvers
Back to Basics - Find no. of elements in a matrix?
216 Solvers
1162 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!