diff=data(2:length(data),6)-data(1:length(data)-1,6);
u_jump=find(diff>1);
final=[];
for i=2:length(u_jump)-1
    xi=data(u_jump(i),6):data(u_jump(i)+1,6);
    x=data(u_jump(i):u_jump(i)+1,6);
    add=interp1(x,data(u_jump(i):u_jump(i)+1,:),xi);
    final=[final;add;data(u_jump(i)+2:u_jump(i+1)-1,:)];
end
%last one
xi=data(u_jump(length(u_jump)),6):data(u_jump(length(u_jump))+1,6);
x=data(u_jump(length(u_jump)):u_jump(length(u_jump))+1,6);
add=interp1(x,data(u_jump(length(u_jump)):u_jump(length(u_jump))+1,:),xi);
final=[final;add;data(u_jump(length(u_jump))+2:length(data),:)];

%1st one
xi=data(u_jump(length(1)),6):data(u_jump(1)+1,6);
x=data(u_jump(1):u_jump(1)+1,6);
add=interp1(x,data(u_jump(1):u_jump(1)+1,:),xi);
final=[data(1:u_jump(1)-1,:);add;data(u_jump(1)+2:u_jump(2)-1,:);final];