Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Matlab 的新手。如何使用符号工具箱计算矩阵的逆?在我的矩阵中有一个拉普拉斯变量“s”。
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