Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Computation of summation equation

1 visualizzazione (ultimi 30 giorni)
User123
User123 il 3 Ago 2017
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Hi can anybody help me compute this equation in matlab?
  1 Commento
Walter Roberson
Walter Roberson il 3 Ago 2017
Sorry, No. The summation notation with multiple variables is ambiguous.

Risposte (1)

Julie Kraus
Julie Kraus il 3 Ago 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

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by