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

1 件のコメント

James Tursa
James Tursa 2014 年 11 月 5 日
Do you have the Symbolic Toolbox? E.g., can you make t a syms object?

サインインしてコメントする。

 採用された回答

MA
MA 2014 年 11 月 5 日

0 投票

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

3 件のコメント

MA
MA 2014 年 11 月 5 日
if you want to write this code in command window instead of editor, you don't need syms t
Mahsa
Mahsa 2014 年 11 月 5 日
Thank you :-)
MA
MA 2014 年 11 月 5 日
you're welcome

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

質問済み:

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