MATLAB: How to change interpolation results

datainterpolationresults

Hi! I have a question. I've done some interpolation: t= 200:.01:1500; l= pchip(l1,l2,t); plot(l1,l2,'o',t,l,'-'); axis([200 1500 0 1])
But the result of the x vector is not one by one numbers (like 251, 252…). It's like this:
251
251,010000000000
251,020000000000
251,030000000000
251,040000000000
251,050000000000
251,060000000000
251,070000000000
251,080000000000
251,090000000000
251,100000000000
251,110000000000
251,120000000000
251,130000000000
251,140000000000
251,150000000000
251,160000000000
251,170000000000
251,180000000000
251,190000000000
251,200000000000
251,210000000000
251,220000000000
How can I change this? Is that possible?
Thanks a lot in advance

Best Answer

t= 200:1500;
l= pchip(l1,l2,t);
plot(l1,l2,'o',t,l,'-');
axis([200 1500 0 1])