Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

An Algorithmic Problem for Mathematical Process

2 visualizaciones (últimos 30 días)
Gözde Üstün
Gözde Üstün el 31 de Mayo de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi All,
I have an algorithmic problem and I could not think how can I write in Matlab.
I have a variable S which is defined:
So I tried this code line but I know it is wrong:
for a=1:d
for b =1:d
for x=1:m
for y =1:d
if a ~= b
S=sum(T(a,b,x,y));
end
end
end
end
end
This is actually just a part of my code and this code related to CVX so I can define this variable directly as T(a,b,x,y)

Respuestas (1)

Gaurav Garg
Gaurav Garg el 3 de Jun. de 2020
Hi,
Can you share the snapshot of the forumlae for S again?
It would also be better if you could explain what are you trying to accomplish here with the help of an example.

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by