Given a square matrix A, compute the determinant of A.
Note that you may not use the built-in MATLAB function det(). This will be checked.
Examples:
A = 1;
y = 1; A = [1 2; 3 4];
y = -2;
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers66
Suggested Problems
-
2272 Solvers
-
Sum of first n terms of a harmonic progression
499 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Matrix indexing with two vectors of indices
775 Solvers
-
Vectorize the digits of an Integer
338 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!