Info
此问题已关闭。 请重新打开它进行编辑或回答。
Computation of summation equation
1 次查看(过去 30 天)
显示 更早的评论
Hi can anybody help me compute this equation in matlab?
1 个评论
回答(1 个)
Julie Kraus
2017-8-3
I mean, for the top portion, you could do something like
mlk=combvec(1:N,1:N,1:N);
k=mlk(3,:);
...
sum(C(k,k).*C(m,l)-C(l,k).*C(k,m))/sum(...
The bottom portion is more complex, nested for loops for each sum are the only thing I see working.
for k=1:N
fg=combvec(1:N,1:N)
fg(:,fg(1,:)==k)=[];
l=1:N;
...
end
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!