matlab怎么设置一个矩阵中的参量范围

2025-03-11 01:17:47
推荐回答(1个)
回答1:

你可定义你的参数为 符号变量哦。
比如下面的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