Clear Filters
Clear Filters

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

15 views (last 30 days)
Djamel
Djamel on 16 Jul 2024 at 13:24
Commented: Voss on 17 Jul 2024 at 13:05
Comment écrire une matrice dont les coeffcients dépendent d'un paramètre ?

Accepted Answer

Voss
Voss on 16 Jul 2024 at 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 = 

More Answers (0)

Community Treasure Hunt

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

Start Hunting!