How to access symbolic expression based on arithmetic operators MATLAB
The symbolic expression below is one example out of many expressions expr = x + (x/z)*log(C + x/y); for the above expression I need to solve as below STEP 1: var1 = x/y % accessing expression one operation at a time result1 = applySomeFunction(var1) STEP 2: var2 = var1+C result2 = someConstantValue*result1+ applySomeFunction(var2); STEP 3: var3 = log(var2) result3 = someConstantValue*result2 + applySomeFunction2(var3); Step4: var4 = var3*x result4 = someConstantValue*result3 + applySomeFunction2(var34); . . . until the end of expression. Is there a way to extract and access symbolic