Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers121
Suggested Problems
-
1626 Solvers
-
All your base are belong to us
576 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
683 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1264 Solvers
-
616 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
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.