Solving a matrix equation?
39 views (last 30 days)
Show older comments
I'm trying to solve the following matrix equation using MATLAB:
AU + UB = C
A, B, and C are known matrices and I want to solve for the matrix U. A and B are square, symmetric, and tridiagonal. Does anyone have advice on how to use MATLAB to efficiently solve this system? Thank you for any help in advance!
Accepted Answer
Torsten
on 20 Mar 2015
Look at 5.1.10 under
for a solution.
Enter
help kron
to get information on how to form the Kronecker tensor product in MATLAB.
Best wishes
Torsten.
More Answers (3)
Pramod Palayangoda
on 23 Jan 2021
1. Consider the following system of equations.
2𝒙𝟏 + 𝟓𝒙𝟐 + 𝟓𝒙𝟑 = 𝟓
4𝒙𝟏 − 𝒙𝟐 + 𝟐𝒙𝟑 = −𝟔
−𝟐𝒙𝟏 + 𝟑𝒙𝟐 − 𝒙𝟑 = 𝟏𝟏
i) Form a matrix for the coefficients of the above system and name it as A.
ii) Find the determinant of A.
iii) Find the inverse of A.
iv) Form a matrix for the right hand values and name it as B
v) Solve the above system.
0 Comments
See Also
Categories
Find more on Eigenvalue Problems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!