Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Computation of summation equation

5 Ansichten (letzte 30 Tage)
User123
User123 am 3 Aug. 2017
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi can anybody help me compute this equation in matlab?
  1 Kommentar
Walter Roberson
Walter Roberson am 3 Aug. 2017
Sorry, No. The summation notation with multiple variables is ambiguous.

Antworten (1)

Julie Kraus
Julie Kraus am 3 Aug. 2017
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

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by