Date: Apr 11, 2013 10:13 AM
Author: kees de kapper
Subject: Arithmetic deduction/extraction
Although this is not purely Matlab related, I need for a matlab script. Hopefully some of you could help me with this.
Consider a a formula like: (2*A+(B.^2+1)/3)
How could I split this in separate arithmetic operations on a most efficient way.
I need to process a formula-string that a user can give in a dlg. Each variable needs some processing in a separate function.
Is there an unambiguous way of doing this?
thanks in advance,