필터 지우기
필터 지우기

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

조회 수: 15 (최근 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 CenterFile Exchange에서 Symbolic 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