A matrix is said to be diagonally dominant if for every row of the matrix, the magnitude of the diagonal entry in a row is larger than or equal to the sum of the magnitudes of all the other (non-diagonal) entries in that row.
Given a matrix, find out whether it is diagonally dominant or not.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers34
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15822 Solvers
-
567 Solvers
-
find the roots of a quadratic equation
243 Solvers
-
5951 Solvers
-
2621 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!