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.
Each 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. 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