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 Solvers6
Suggested Problems
-
Matrix with different incremental runs
131 Solvers
-
Set the array elements whose value is 13 to 0
1453 Solvers
-
Remove entire row and column in the matrix containing the input values
573 Solvers
-
Create a matrix with difference of each row of input matrix
76 Solvers
-
Mysterious digits operation (easy)
327 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!