功能:符号矩阵乘法

格式:[c, k] = SymMatrixMul(a, b)

a :符号矩阵对象变量
b :行数与a列数一致的符号矩阵变量

c :返回的a*b符号矩阵对象变量
k :执行成功与否的标志,如果k为1表示执行成功,返回0表示a、b参数有误

例子:

a = SymMatrix([ 
"a00","a01","a02" 
"a10","a11","a12" ])

b = SymMatrix([
"b00","b01"
"b10","a11"
"b20","b21"])

c = SymMatrixMul(a,b)//回车得到如下结果
c = {
a00*b00+a01*b10+a02*b20 , a00*b01+a01*a11+a02*b21
a10*b00+a11*b10+a12*b20 , a10*b01+a11^2+a12*b21   }