symconstructs symbolic numbers, variables and objects. Read what
help symtells about this command. With the command
symsmultiple symbolic objects can be constructed at the same time. In this case, the names of the objects have to start with a letter. Symbolic objects can be used as matrix elements.
>> syms a b >> A = [1 2 a 3 b 4 1 2 3]} A = [ 1 2 a] [ 3 b 4] [ 1 2 3]