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

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 Kommentare

What is X1 and X2?
a scalar or a matrix?
Ambika
Ambika am 11 Jan. 2012
X1 and X2 are scalars

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Andrew Newell
Andrew Newell am 11 Jan. 2012

0 Stimmen

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).

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by