MATLAB: How to create a Mupad symbolic variable as a matrix

matrixsymbolic variable

Hi,
Is it possible to create a Mupad symbolic variable as a matrix, only specifying the dimension but not the element?
I don't want the elements of the matrix variable to appear in my equation.
Thanks in advance!
Rgds, Jian

Best Answer

Do you need to do this at the MATLAB level or at the MuPAD level?
Is there a particular data type that the matrix will hold (e.g., numbers only), or do you need a general symbolic matrix?