Can you get one side of an equation and store it in a variable?

2 次查看(过去 30 天)
Say I have an equation object in Mupad:
eq1 := x + y = 0
Now say after some manipulation I want to drop RHS, and just save the LS in a variable like..
f := left( eq1 )

采纳的回答

Walter Roberson
Walter Roberson 2011-6-3
Within MuPad,
lhs(eq1)
and
rhs(eq1)

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by