Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
An Algorithmic Problem for Mathematical Process
조회 수: 1 (최근 30일)
이전 댓글 표시
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/307147/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/307151/image.png)
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)
댓글 수: 0
답변 (1개)
Gaurav Garg
2020년 6월 3일
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.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!