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

321 Solutions

70 Solvers

Last Solution submitted on Sep 09, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers70

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!