converting a symbolic vector into a matrix vector product.

5 ビュー (過去 30 日間)
Jelle
Jelle 2023 年 10 月 18 日
編集済み: John D'Errico 2023 年 10 月 18 日
my problem is the following:
[b1;b2]=[a11,a12;a21,a22]*[p1;p2]
how do i find the matrix A so that this equation is statisfied.
(in my specific case b1=0 and b2 is a long expession involving terms with both p1 and p2)
  2 件のコメント
Dyuman Joshi
Dyuman Joshi 2023 年 10 月 18 日
Have you tried using solve?
Also, provide the expression for b2 and values for variables, if any.
John D'Errico
John D'Errico 2023 年 10 月 18 日
編集済み: John D'Errico 2023 年 10 月 18 日
If b1, b2, p1, p2 are the only givens, then you cannot do so. Actually, you could, but there are infinitely many possible solutions. This is an underdetermined problem. So you cannot solve the problem in a unique way.
But worse, I see also the comment that b2 involves terms that have both p1 and p2 inside. That means you effectively have a system of apparently nonlinear equations, but only 2 equations, and 4 unknowns that you wish to solve for, thus rhe elements of A. Now you have an underdetermined nonlinear problem. so still no unique soluitons.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by