Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Arithmetic deduction/extraction
Posted:
Apr 11, 2013 10:13 AM


Hi All,
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 formulastring 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,
Kees



