how to construct sub-expressions with only two variables and one arithmatic operation from complex Expression Maple/Matlab?
问题 let the Symbolic expression is as below. y = s + (a/b)*log((a+c)/(b*a)); %# it can be any type of expression how can I get all possible sub-expressions with two variables and one operator between them. subExpression1 = b*a; subExpression2 = a/b; I got stuck whlie extracting sub-expressions based on operator. if I read one operator I have to study its LHS and RHS and verify that it operates just on one variable but not a other subexpression. Is there a way to study both LHS and RHS of a