Symbolic Variables and Functions
César Pérez López · Apress eBooks · 2014
MATLAB deems as symbolic any algebraic expression whose variables have all been previously defined as symbolic; variables are declared as symbolic using the command syms . For example, if we want to treat as symbolic the expression 6 * a * b + 3 * a^2 + 2 * a * b, in order to simplify it, we need to declare the two variables a and b as symbolic, as shown here: These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.