Problem 43026. Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.
Solution Stats
Problem Comments
-
2 Comments
goc3
on 5 Oct 2016
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
goc3
on 5 Oct 2016
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.
Solution Comments
Show commentsProblem Recent Solvers114
Suggested Problems
-
Return the largest number that is adjacent to a zero
5401 Solvers
-
The Hitchhiker's Guide to MATLAB
3322 Solvers
-
21986 Solvers
-
Sum of first n terms of a harmonic progression
435 Solvers
-
15285 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!