lhs
Left side (LHS) of equation
Syntax
Description
returns
the left side of the symbolic equation lhsEqn
= lhs(eqn
)eqn
. The value of
eqn
also can be a symbolic condition, such as x > 0. If eqn
is an array, then lhs
returns an array of the left sides of the equations in eqn
.
Conditions that use the >
or >=
operator are
internally rewritten using the <
or <=
operator.
Therefore, lhs
returns the original right side. For example, lhs(x
> 0)
returns 0
.