"kees de Kapper" <firstname.lastname@example.org> wrote in message news:email@example.com... > 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 have a question and some clarifications requests.
Please clarify what YOU mean by "most efficient way" (wall clock time, CPU time, number of operations, minimal memory allocation, etc.) and specify what arithmetic operations you're allowed to use.