|
Hi David,
Yes, I have a solution to your problem. You can use via the
Matlab symbolic toolbox some Maple functions. For instance,
you can recover the equation a+3*b = 0 by using the rhs and
lhs Maple commands:
maple('rhs(2*a+b=3*a+4*b)-lhs(2*a+b=3*a+4*b)')
Regards,
V. Morio
University Bordeaux 1/IMS lab. /Automatic Control Group
"David Doria" <daviddoria@gmail.com> wrote in message
<fqbokl$9i8$1@fred.mathworks.com>...
> Say I have something like this
>
> syms a b
> LHS=2*a +b;
> RHS=3*a + 4*b;
>
> which represents the equation:
> 2*a + b = 3*a + 4*b
>
> I would like to get back:
> a+3*b = 0
>
> or something like that, where all the cancellations that
> were possible were performed. Is there a function that does
> this?
>
> Thanks,
>
> Dave
|