Borrar filtros
Borrar filtros

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

5 visualizaciones (últimos 30 días)
mathru
mathru el 27 de Ag. de 2020
Editada: Michael Croucher el 27 de Ag. de 2020
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 comentario
Stephen23
Stephen23 el 27 de Ag. de 2020
"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:

Iniciar sesión para comentar.

Respuesta aceptada

Michael Croucher
Michael Croucher el 27 de Ag. de 2020
Editada: Michael Croucher el 27 de Ag. de 2020
[0.0;-1.5] is a column vector with the two values 0.0 and -1.5. Mathematically, it looks like this:
  2 comentarios
mathru
mathru el 27 de Ag. de 2020
Thanks Michael.
Then what does result,[0.0;-1.5] means?
Rik
Rik el 27 de Ag. de 2020
Commas separte inputs in Matlab. So both the variable result and the vector [0;1.5] are inputs to the interpolateTemperature function.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by