フィルターのクリア

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

17 ビュー (過去 30 日間)
Djamel
Djamel 2024 年 7 月 16 日 13:24
コメント済み: Voss 2024 年 7 月 17 日 13:05
Comment écrire une matrice dont les coeffcients dépendent d'un paramètre ?

採用された回答

Voss
Voss 2024 年 7 月 16 日 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 件のコメント
Djamel
Djamel 2024 年 7 月 17 日 12:35
Thank you much.
Voss
Voss 2024 年 7 月 17 日 13:05
You're welcome!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Variables, Expressions, Functions, and Preferences についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by