Advanced Mathematics(9/34) Symbolic Mathematics MATLAB has a type called sym for symbolic variables and expressions;these work with strings. For example:to create a symbolic variable a and perform the addition just described,first a symbolic variable would be created by passing the string a'to the sym function: >>a=sym('a')i >>a+a ans= 2*a @日济大学 TONGJI UNIVERSITY ➢ MATLAB has a type called sym for symbolic variables and expressions; these work with strings. For example: to create a symbolic variable a and perform the addition just described, first a symbolic variable would be created by passing the string ‘a’ to the sym function: Advanced Mathematics(9/34) Symbolic Mathematics