A dot in the place of a subscript indicates summation over that index (How to code this?)
5 views (last 30 days)
Show older comments
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.
0 Comments
Accepted Answer
Wayne King
on 10 Oct 2011
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 Comments
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!