你可定义你的参数为 符号变量哦。比如下面的MATLAB程序:>> syms a b c d;x=[a b; c d];y=[d;a];x*y ans = a*b + a*d a*d + c*d
先定义一下参数sysms a b c dA=[a b;c d]直接用就可以了