필터 지우기
필터 지우기

Solve symbolic Sylvester-like equation

조회 수: 5 (최근 30일)
Mohammad
Mohammad 2019년 3월 11일
댓글: madhan ravi 2019년 3월 12일
I'm looking for a way to solve a symbolic Sylvester-like equation in MATLAB or MAPLE (or any other available tool). In particular, I have the following equation,
where, A has some parameters in it (like below). B is known and I want to solve for X as a function of a.

답변 (1개)

Torsten
Torsten 2019년 3월 12일
syms a x11 x12 x21 x22 b11 b12 b21 b22
A=[a+sym('1'), sym('2'); sym('3'),sym('1')];
X=[x11,x12;x21,x22];
B=[b11,b12;b21,b22];
[solx11 solx12 solx21 solx22] = solve([A*X+X*A==B],[x11 x12 x21 x22])
  댓글 수: 3
Torsten
Torsten 2019년 3월 12일
편집: Torsten 2019년 3월 12일
What is x ?
Why A12 = 1 instead of 2 ?
madhan ravi
madhan ravi 2019년 3월 12일
Ah (typo) , meant to say sym() can be used directly for the whole matrix instead of applying to each values of a matrix.

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

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by