Consider a matrix consisting of ones in the first column and anywhere the row index divides the column index. The 4x4 matrix is [1 1 1 1; 1 1 0 1; 1 0 1 0; 1 0 0 1]. The 1000x1000 matrix is depicted below.
Write a function to compute the determinant of these matrices, given an array of sizes.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Find best placement for ordered dominoes (harder)
352 Solvers
-
Flip the main diagonal of a matrix
915 Solvers
-
Sum of first n terms of a harmonic progression
517 Solvers
-
Permute diagonal and antidiagonal
511 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
519 Solvers
More from this Author325
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!