Solving linear matrix equation
Ältere Kommentare anzeigen
Hi folks! I need some help (Though I have a doubt whether this is an appropriate question for this group).
Can you please help me to solve this equation: AB=A, where A is a known symmetric, singular matrix. And diagonal elements of B are also known.
For clarification: All elements of A is known. And only diagonal elements of B are known. As an example, you can consider: [1 -1/2 -1/2; -1/2 1 -1/2; -1/2 -1/2 1] and diag B=[ 3 3 3].
Thanks in advance.
6 Kommentare
KSSV
am 17 Aug. 2020
Show us A and B.
Vladimir Sovkov
am 17 Aug. 2020
Maybe, a kind of a general optimization procedure can be employed with the off-diagonal elements of B chosen as the variables to be optimized. If only the exact solution exists at all, which is not clear. I believe, our Optimizer package can help, see it at https://sourceforge.net/projects/optimizer-sovkov/.
Sara Boznik
am 17 Aug. 2020
Is B=I?
Walter Roberson
am 17 Aug. 2020
Bearbeitet: Walter Roberson
am 17 Aug. 2020
Is all of B known or just the diagonal elements? Is B all zero except at some diagonal elements?
When you describe A I am not sure whether you are saying that all of the elements of A are known, or if what is known about it is that it is symmetric and singular?
Suvranil
am 17 Aug. 2020
Bruno Luong
am 17 Aug. 2020
See my code below that gives
B =
3.0000 2.0000 2.0000
2.0000 3.0000 2.0000
2.0000 2.0000 3.0000
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Linear Algebra finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!