I want to code this equation
s(i)=x(i)+(l1-sum(x(i))/N
here the loop must be i=1:108300
and the value for l1 and x(i) must be same for first 300
here I something I tried.
for i2=1:108300 for i3=1:300 s(i2)=W(i2)+(l1-sum(W(:,i3)))/N; endend
Best Answer