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 Solvers70
Suggested Problems
-
Test if a Number is a Palindrome without using any String Operations
259 Solvers
-
Project Euler: Problem 4, Palindromic numbers
1299 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1331 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1285 Solvers
-
Replace secondary diagonal elements of a square array
189 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!