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
-
Swap the first and last columns
23186 Solvers
-
913 Solvers
-
Getting the absolute index from a matrix
259 Solvers
-
Determine the number of odd integers in a vector
857 Solvers
-
Find and replaces spaces from a input string with *
172 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!