Symbolic Variables and Functions

  • César Pérez López


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:


Symbolic Expression Numeric Expression Matrix Exponential Function Symbolic Variable Arctangent Function 

Copyright information

© César Pérez López 2014

Authors and Affiliations

  • César Pérez López
    • 1
  1. 1.MadridSpain

Personalised recommendations