Substituting a syms with an equation

1 Ansicht (letzte 30 Tage)
Philosophaie
Philosophaie am 28 Jun. 2013
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

Antworten (1)

Walter Roberson
Walter Roberson am 29 Jun. 2013
subs(A, A11, a*x+b*y+c*z)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by