Solving a matrix equation?

조회 수: 41 (최근 30일)
Matt
Matt 2015년 3월 20일
답변: Karthikeyan S 2022년 4월 20일
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!
  댓글 수: 1
Worku Fufa
Worku Fufa 2021년 9월 28일
40v+5i+0.5i2=0
85v+(i3+i2)4=0
i1=10+i2+i4

댓글을 달려면 로그인하십시오.

채택된 답변

Torsten
Torsten 2015년 3월 20일
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.
  댓글 수: 1
Matt
Matt 2015년 3월 20일
Thank you for your answer! While your solution works, I discovered that MATLAB has a straightforward command for solving this system - see my answer if interested.

댓글을 달려면 로그인하십시오.

추가 답변 (3개)

Matt
Matt 2015년 3월 20일
For anyone who may stumble upon this in the future, turns out my system is the Sylvester equation. Its solution has been implemented in MATLAB starting in version 2014a:

Pramod Palayangoda
Pramod Palayangoda 2021년 1월 23일
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.

Karthikeyan S
Karthikeyan S 2022년 4월 20일
2𝒙𝟏 + 𝟓𝒙𝟐 + 𝟓𝒙𝟑 = 𝟓

카테고리

Help CenterFile Exchange에서 Eigenvalue Problems에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by