Filter löschen
Filter löschen

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

17 Ansichten (letzte 30 Tage)
Djamel
Djamel am 16 Jul. 2024 um 13:24
Kommentiert: Voss am 17 Jul. 2024 um 13:05
Comment écrire une matrice dont les coeffcients dépendent d'un paramètre ?

Akzeptierte Antwort

Voss
Voss am 16 Jul. 2024 um 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 Kommentare
Djamel
Djamel am 17 Jul. 2024 um 12:35
Thank you much.
Voss
Voss am 17 Jul. 2024 um 13:05
You're welcome!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by