Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Computation of summation equation

조회 수: 5 (최근 30일)
User123
User123 2017년 8월 3일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi can anybody help me compute this equation in matlab?
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 8월 3일
Sorry, No. The summation notation with multiple variables is ambiguous.

답변 (1개)

Julie Kraus
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

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by