X=[-5,-4,-2,-1,2,3,5,6,7,8,9,10];

f=@(x)(x+1)/3;