Technical discussion about Matlab and issues related to Digital Signal Processing.
Hi all, I need to manage an array of algebraic expressions (e.g. 2*x^2+3*x-5) having binary operators (+, -, *, / and ^). Essentially what is required is to evaluate a given symbolic expression by substituting a numerical value for its symbolic variable, which is straighforward to do using Symbolic Math toolkit. At the same time I need to do considerable amount of processing on these expressions before I evaluate them, e.g. cut the expression in 2 parts, join/ concatenate 2 expressions etc. Since symbolic expression manipulation is known to be slow, would it be a better idea to store the expressions as strings and do cut, join etc operations on them and then cast them in symbolic expression form? Also kindly let me know if useful functions are available for manipulating algebraic expressions. Thanking you for your help.