how write a matrix with specific features
1 次查看(过去 30 天)
显示 更早的评论
how can i wirte a weight matrix with following features i am confused
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1661986/image.png)
0 个评论
回答(1 个)
John D'Errico
2024-5-26
I think you are confused about what you can do with MATLAB. Those constraints simply tell you the associated matrix for the graph is a symmetric one, and places bounds on the elements of that graph. For example, symmetry tells you the "cost" to move from node i to node j is the same as the cost to move in the opposite direction.
But you cannot just create a general unspecified matrix that has those properties built into the matrix definition, and then go on to make some conclusions about the result.
If you had a specific numerical instance of a graph, you could test and verify it satisfies those constraints. (If you knew the value of Umax, that is.) But that is different from building those properties into the matrix itself, and then using MATLAB to come to some conclusion, valid over the set of all such graphs.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graph and Network Algorithms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!