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

324 Solutions

72 Solvers

Last Solution submitted on Oct 28, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers72

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!