spliteq

Split equation.


Syntax
   [lhs, rhs] = spliteq(problem)

Description
   [lrs, rhs] = spliteq(problem) separates the lhs and the rhs.

Input
   problem = equation to solve (cell of char).

Output
   lhs = left hand side (char).
   rhs = rigth hand side (char).

Example
   [lhs, rhs] = spliteq({'diff(y1, 2) + (x^2)*diff(y2) = 7*x^2 + 1';...
                         'diff(y2) + 3*diff(y1) = 3*x^5 + 21*x'}) returns:
   lhs = 'diff(y1, 2) + (x^2)*diff(y2)'
         'diff(y2) + 3*diff(y1)'
   rhs = '7*x^2 + 1'
         '3*x^5 + 21*x'