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

330 Solutions

75 Solvers

Last Solution submitted on Nov 06, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers75

Suggested Problems

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!