function channels=H_interplinear(pilotin)
rate=8;
len_pilot=length(pilotin);
tmp=zeros(10,1);
for m=1:len_pilot,
    if m==1
            for i=1:(rate-1)
                channels(i)=pilotin(1)-(pilotin(2)-pilotin(1))*(rate-i)/rate;
            end  
    else 
            for i=1:(rate-1),
                channels((m-1)*(rate-1)+i)=(pilotin(m)-pilotin(m-1))*i/rate+pilotin(m-1);
            end
    end
end
%   outdata(45:49)=tmp(1:5);
%    outdata(1:5)=tmp(6:10);
channels=conj(channels);