
The command syms A will create symbolic variable ‘A’ & will automatically assign it to MATLAB variable with same name. Please keep in mind that we are using the ‘syms’ function here so that the variable is created dynamically.

In the first example, we will use syms function to create a variable. Let us now understand the code to use syms in MATLAB. Please note that a single call can be used to create more than one symbolic function. syms f(variable1, vaiable2, …., variableN)is used to create the symbolic function & symbolic variables which will represent input arguments of function ‘f’.

Each of the array will have the size n1- X -…- X -nM & will contain automatically generated symbolic variables. variableN is used to create symbolic arrays variable1 …. ‘syms’ function will clear all the assumptions from variables.
