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

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