0
我是Matlab中的新成員。我怎樣才能用符號工具箱來計算矩陣的逆矩陣? 在我的矩陣中有一個拉普拉斯變量「s」。matlab中具有符號工具箱的矩陣的逆矩陣
我是Matlab中的新成員。我怎樣才能用符號工具箱來計算矩陣的逆矩陣? 在我的矩陣中有一個拉普拉斯變量「s」。matlab中具有符號工具箱的矩陣的逆矩陣
syms('s', 'x'); % You declare the symbols `s' and `x' this way.
M = [exp(-s)*x 1; 0 exp(-s)*sin(x)]; % This is a sample matrix
M*inv(M) % inv() gives you the inverse