Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
can any one you kindly tel me how to implement the following equations in matlab .?????????,,where n1=3,n2=3
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (1개)
David Sanchez
2014년 2월 27일
Besides the second summation starts and ends at n1/2, your code should be like this (although you should make sure your data is right, you set n1 = n2 = 3 and start the summations at n1/2 = 1.5, what is a non-sense):
n1 = 3;
n2 = 3;
g = 0; % initialization of summations
lim_inf_1= n1/2;
lim_sup_1 = n1*2;
lim_inf_2 = ? % your limits are....?
lim_sup_2 = ?
for i=lim_inf_1:lim_sup_2
for j=lim_inf_2:lim_sup_2
g = g + f(i,j);
end
end
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!