0
votes

I'm new in Matlab. How can I do calculate a inverse of a matrix with symbolic toolbox ? In my matrix there is a laplace variable "s".

1

1 Answers

0
votes
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