%subfunction of RAGA_PPC function y=Target(x,a) [m,n]=size(x); for i=1:m s1=0; for j=1:n s1=s1+a(j)*x(i,j);