Problem 59506. Compute the determinant of a divisibility matrix
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 commentsProblem Recent Solvers4
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8910 Solvers
-
Back to basics 25 - Valid variable names
324 Solvers
-
251 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
378 Solvers
-
807 Solvers
More from this Author279
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!