Tutorial

Another way to create a symbolic variable is to assign a symbolic value to a new symbol. Since numbers are, by default, floating point, it is necessary to use the sym function to tell MATLAB that a number is symbolic: c=sym(2) c = 2 whos . Name Size Bytes Class. A 3x2 48 double array ................
................