

The command syms A will create a symbolic variable ‘A’ & will automatically assign it to a MATLAB variable with the same name. Please keep in mind that we are using the ‘syms’ function here to create the variable 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.

‘syms’ function will clear all the assumptions from variables.

syms variable1 variable2 …… variableN is used to create symbolic variables variable1 … variableN.Syms f(variable1, variable2, …., variableN) Hadoop, Data Science, Statistics & others Syntax of Matlab Syms
