【问题标题】:Inverse of matrix in matlab with symbolic toolbox带有符号工具箱的matlab中矩阵的逆
【发布时间】:2011-07-14 00:01:30
【问题描述】:

我是 Matlab 的新手。如何使用符号工具箱计算矩阵的逆? 在我的矩阵中有一个拉普拉斯变量“s”。

【问题讨论】:

    标签: matlab symbolic-math matrix-inverse


    【解决方案1】:
    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
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-02-28
      • 2011-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多