Problem 56005. Dominant Matrix - 02
It is a follow-up of the problem 55995. There, you found out whether a matrix is diagonally dominant or not.
In this problem, you have to find out whether a matrix can be converted into diagonally dominant matrix or not - within some constraints. These are -
To convert, you can add or subtract any number from any elements in the matrix (except the main diagonal) such that the total summation of all the elements in the matrix remain unchanged.
Consider only positive integers.
To give an example -
A = [2 5 4;
3 1 5;
2 4 1]
Here, the matrix is not diagonally dominant. Diagonal elements are [2, 1, 1].
To make it diagnoally dominant, you can add or subtract values to off-diagonal elements. However, for this matrix, it is not possible to convert it into a diagonally dominant matrix under the condition that summation of all elements remains fixed.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
6 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!