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 all elements less than 0 or greater than 10 and replace them with NaN
15613 Solvers
-
Maintain shape of logical-index mask
70 Solvers
-
904 Solvers
-
Give me Hamming on five, hold the mayo
50 Solvers
-
Implement a bubble sort technique and output the number of swaps required
321 Solvers
More from this Author292
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!