Date: Mar 14, 2013 10:53 PM
Author: Derek Goring
Subject: Re: unequal distance interpoaltion

On Friday, March 15, 2013 3:41:10 PM UTC+13, se chss wrote:
> i have uneqaul index => Xindex=[0 1.1 2.3 4 5.6];
>
>
>
> correspond Ydata is => Ydata=[4 2 9 6 10];
>
>
>
> how can i interpolation 0.1 grid of Ydata such as
>
>
>
> XnewIndx=0:0.1:5.6;
>
>
>
> and YnewData=interpoled data of 0.1 distance


help interp1

YnewData=interp1(Xindex,Ydata,XnewIndx);