필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Ambika
Ambika 2012년 1월 11일
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
Chandra Kurniawan
Chandra Kurniawan 2012년 1월 11일
What is X1 and X2?
a scalar or a matrix?
Ambika
Ambika 2012년 1월 11일
X1 and X2 are scalars

댓글을 달려면 로그인하십시오.

채택된 답변

Andrew Newell
Andrew Newell 2012년 1월 11일
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).

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Elementary Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by