what is the meaning of '.' in the below equation?

2 visualizaciones (últimos 30 días)
Ambika
Ambika el 11 de En. de 2012
i saw an equation like tis ... but while running its showing error... pls tell what is the meaning of "." in below equation an how the answer to be come for this equation? F=(X1.-1)^2+(X2.-2.2)^2+1;
  2 comentarios
Chandra Kurniawan
Chandra Kurniawan el 11 de En. de 2012
What is X1 and X2?
a scalar or a matrix?
Ambika
Ambika el 11 de En. de 2012
X1 and X2 are scalars

Iniciar sesión para comentar.

Respuesta aceptada

Andrew Newell
Andrew Newell el 11 de En. de 2012
What is the "meaning" of an erroneous expression? Probably the intended expression was
F=(X1-1).^2+(X2-2.2).^2+1;
Here .^ is the element-by-element power (see Array arithmetic).

Más respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by