Method on @sym: rhs (f)

Right-hand side of symbolic expression.

Example:

syms x
eqn = 5*x <= 3*x + 6
  ⇒ eqn = (sym) 5⋅x ≤ 3⋅x + 6
rhs(eqn)
  ⇒ ans = (sym) 3⋅x + 6

Gives an error if any of the symbolic objects have no right-hand side.

See also: @sym/lhs, @sym/children, @sym/formula, @sym/argnames.

Package: symbolic