フィルターのクリア

What does the T in this code mean?

37 ビュー (過去 30 日間)
Go Detroit Lions
Go Detroit Lions 2018 年 10 月 23 日
コメント済み: Go Detroit Lions 2018 年 10 月 23 日
Can someone explain please what the T in means in this line of code T = [40 T 200]; Below is the reference code.
a = [ 2.04 -1 0 0; -1 2.04 -1 0; 0 -1 2.04 -1; 0 0 -1 2.04;] b = [40.8 0.8 0.8 200.8]'; T = (a \ b)'
T = [40 T 200]; x = [0: 2 : 10]; xanal = [ 0: 10]; TT = @ (x) 73.4523*exp(0.1*x) - 53.4523*... exp(-0.1*x) + 20; Tanal = TT(xanal); plot(x, T, 'o', xanal, Tanal)
  2 件のコメント
madhan ravi
madhan ravi 2018 年 10 月 23 日
there are two T's ?
Go Detroit Lions
Go Detroit Lions 2018 年 10 月 23 日
Yeah it's from the matlab book Applied Numerical Methods with Matlab Case Study 9.5. I just got rid of the double T's and it worked.

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

回答 (1 件)

madhan ravi
madhan ravi 2018 年 10 月 23 日
編集済み: madhan ravi 2018 年 10 月 23 日
The first T = (a/b)'
It is the solution of equation which is solved and transposed to make the next step easier ,and then
The second T = [20 T 200] which has the initial point and the end point added to it. That’s what it actually means

カテゴリ

Help Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by