Substituting a syms with an equation

I have a syms Array:
syms A11 A12 A13 A21 A22 A23 A31 A32 A33 a b c x y z
A=[A11 A12 A13;A21 A22 A23;A31 A32 A33]
.
How do I replace a symbolic variable A11 with an equation:
A11=a*x+b*y+c*z

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 6 月 29 日

0 投票

subs(A, A11, a*x+b*y+c*z)

カテゴリ

ヘルプ センター および File ExchangeSymbolic Math Toolbox についてさらに検索

質問済み:

2013 年 6 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by