Borrar filtros
Borrar filtros

Matrices à coefficients dépendant d'un paramètre

15 visualizaciones (últimos 30 días)
Djamel
Djamel el 16 de Jul. de 2024 a las 13:24
Comentada: Voss el 17 de Jul. de 2024 a las 13:05
Comment écrire une matrice dont les coeffcients dépendent d'un paramètre ?

Respuesta aceptada

Voss
Voss el 16 de Jul. de 2024 a las 13:46
One option:
F = @(t)[0,1;t,t^2];
M = F(1)
M = 2x2
0 1 1 1
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
M = F(-1)
M = 2x2
0 1 -1 1
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
M = F(2)
M = 2x2
0 1 2 4
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
Another option:
syms t
M = [0,1;t,t^2]
M = 
  2 comentarios
Djamel
Djamel el 17 de Jul. de 2024 a las 12:35
Thank you much.
Voss
Voss el 17 de Jul. de 2024 a las 13:05
You're welcome!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Symbolic Variables, Expressions, Functions, and Preferences en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by