필터 지우기
필터 지우기

how to find the value at mid of the indices

조회 수: 1 (최근 30일)
Mubashara Wali
Mubashara Wali 2020년 10월 18일
댓글: Durganshu 2020년 10월 19일
Actually I need to find this sum with value of Y at (j+1/2)
Rsum1=0;
for j=1:1:n+1
Rsum1=Rsum1+aa(j)*Y(j)
end
so how to do it?
  댓글 수: 1
Durganshu
Durganshu 2020년 10월 19일
Your problem description is not clear.
'Actually I need to find this sum with value of Y at (j+1/2)'
If Y contains n+1 values and each value is stored at an index that varies with an interval of j=1, how will we be able to extract the values at the intermediate indexes (j+1/2)?
Also, what exactly is aa(j)?
Elaborate more on what you exactly need and if possible, provode with sample inputs and outputs.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by