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.
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!