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์ผ

0 ๊ฐœ ์ถ”์ฒœ

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์ผ

3 ๊ฐœ ์ถ”์ฒœ

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์ผ

0 ๊ฐœ ์ถ”์ฒœ

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์ผ

0 ๊ฐœ ์ถ”์ฒœ

2๐’™๐Ÿ + ๐Ÿ“๐’™๐Ÿ + ๐Ÿ“๐’™๐Ÿ‘ = ๐Ÿ“

์นดํ…Œ๊ณ ๋ฆฌ

๋„์›€๋ง ์„ผํ„ฐ ๋ฐ File Exchange์—์„œ Linear Algebra์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

์งˆ๋ฌธ:

2015๋…„ 3์›” 20์ผ

๋‹ต๋ณ€:

2022๋…„ 4์›” 20์ผ

Community Treasure Hunt

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

Start Hunting!

Translated by