calculate the inv of a matric with one constant

Hello all, I have a simple question. Assume that I have the following matrix. How can I find the inv of this matrix based on "t".
m = [3*t 0 0; 1 t o;0 0 t]; Thank you

 采纳的回答

syms t
m = [3*t 0 0; 1 t 0;0 0 t];
inv(m)

3 个评论

if you want to write this code in command window instead of editor, you don't need syms t

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

提问:

2014-11-5

评论:

MA
2014-11-5

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by