[英]Inverse of matrix in matlab with symbolic toolbox
我是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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.