What is the meaning of [0.0;-1.5] in the following lines?

5 ビュー (過去 30 日間)
mathru
mathru 2020 年 8 月 27 日
編集済み: Michael Croucher 2020 年 8 月 27 日
Tcenter = interpolateTemperature(result,[0.0;-1.5],1:numel(tlist));
Touter = interpolateTemperature(result,[0.2;-1.5],1:numel(tlist));
What does it mean by [0.0;-1.5]?
  1 件のコメント
Stephen23
Stephen23 2020 年 8 月 27 日
"What does it mean by [0.0;-1.5]?"
Very basic MATLAB concepts, such as how to create vectors and matrices, are explained in the introductory tutorials:

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

採用された回答

Michael Croucher
Michael Croucher 2020 年 8 月 27 日
編集済み: Michael Croucher 2020 年 8 月 27 日
[0.0;-1.5] is a column vector with the two values 0.0 and -1.5. Mathematically, it looks like this:
  2 件のコメント
mathru
mathru 2020 年 8 月 27 日
Thanks Michael.
Then what does result,[0.0;-1.5] means?
Rik
Rik 2020 年 8 月 27 日
Commas separte inputs in Matlab. So both the variable result and the vector [0;1.5] are inputs to the interpolateTemperature function.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBoundary Conditions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by