# Matlab character matrices

by DmytriE
Tags: character, matlab, matrices
 PF Gold P: 1,153 Matlab character matrices Are you just trying to do symbolic math with matrices? You can use sym or the shortcut syms to create symbolic variables and then create a matrix using them. E.g. for something like $$\begin{vmatrix} a & b \\ c & d \end{vmatrix} = ad - bc$$ you could do: syms a b c d real; det([a b; c d]); I didn't realize you needed to do matrix arithmetic, so cells won't work.