Hi, I want to find the following Z(i)s but inside the sum is only for j. How can I write following script with sum on only j? Sorry if my question is very basic stuff
for i=1:nfor j=1:mZ(i)=Z(i)-sum(S(j).*Z(i-j))endend
sum
for i=1:nfor j=1:mZ(i)=Z(i)-sum(S(j).*Z(i-j))endend
Best Answer