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 comentario

James Tursa
James Tursa el 5 de Nov. de 2014
Do you have the Symbolic Toolbox? E.g., can you make t a syms object?

Iniciar sesión para comentar.

 Respuesta aceptada

MA
MA el 5 de Nov. de 2014
syms t
m = [3*t 0 0; 1 t 0;0 0 t];
inv(m)

3 comentarios

MA
MA el 5 de Nov. de 2014
if you want to write this code in command window instead of editor, you don't need syms t
Mahsa
Mahsa el 5 de Nov. de 2014
Thank you :-)
MA
MA el 5 de Nov. de 2014
you're welcome

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 5 de Nov. de 2014

Comentada:

MA
el 5 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by