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
-
Maximum running product for a string of numbers
2215 Solvers
-
2310 Solvers
-
Sum the elements in either diagonal of a square matrix
214 Solvers
-
Two-output anonymous function?
82 Solvers
-
Remove entire row and column in the matrix containing the input values
451 Solvers
More from this Author312
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!