A dot in the place of a subscript indicates summation over that index (How to code this?)

조회 수: 5 (최근 30일)
Dear Community members,
I've been trying to code the following notation in Matlab but have not been successful... any idea?
T-of(i.) = SIGMA-of(j)T-of(ij)
From the article: We maintain the convention introduced earlier that a dot in the place of a subscript indicates summation over that index. Thus (above formula) will represent everything leaving i during the unit time interval should become apparent.
The article's title is "Quantifying sustainability: Resilience, efficiency and the return of information theory" if anyone is interested.
Many thanks and I look forward to your comments and suggestions.

채택된 답변

Wayne King
Wayne King 2011년 10월 10일
That just means they're summing over the columns. You can do that with
X = randn(10,10);
sum(X,2)
% note each element in the above is
for ii = 1:size(X,1)
SumAlongCols(ii) = sum(X(ii,:));
end

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by