Clear Filters
Clear Filters

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

2 views (last 30 days)
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 )

Accepted Answer

Walter Roberson
Walter Roberson on 3 Jun 2011
Within MuPad,
lhs(eq1)
and
rhs(eq1)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!