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

7 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by