Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Ambika
Ambika le 11 Jan 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 commentaires
Chandra Kurniawan
Chandra Kurniawan le 11 Jan 2012
What is X1 and X2?
a scalar or a matrix?
Ambika
Ambika le 11 Jan 2012
X1 and X2 are scalars

Connectez-vous pour commenter.

Réponse acceptée

Andrew Newell
Andrew Newell le 11 Jan 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).
  1 commentaire
Ambika
Ambika le 11 Jan 2012
lot of thanks for helping

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Elementary Math dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by