parametric matrix equivalence solution

조회 수: 3 (최근 30일)
Vahid Ghazizadeh
Vahid Ghazizadeh 2011년 6월 14일
"I have two separate matrices A and B, as an example in the form of A=[a+b, a; b, a+b] and B=[x, y; x+y, x]. In case of A=B, how can I find "a" and "b" according to "x" and "y", which are all parametric? Is there any function already defined in MATLAB to solve this? If there's not, how can I define one? Thanks alot"

채택된 답변

John D'Errico
John D'Errico 2011년 6월 14일
You have a system of equalities. 4 of them. In your example they are linear, but since it was just an example, I cannot know.
Use the symbolic toolbox, however, it will likely fail to find an exact solution, since there are 4 equations in only 2 unknowns. An over-determined system like this will usually not have an exact solution.
John
  댓글 수: 1
Vahid Ghazizadeh
Vahid Ghazizadeh 2011년 6월 14일
Thanks John, but as I said it was just a simple example, but yes, as you mentioned correctly it was a wrong one. I'll try out symbolic toolbox and this time with a proper example.
Thanks again

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by