Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: unequal distance interpoaltion
Replies: 1   Last Post: Mar 14, 2013 10:53 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,919
Registered: 12/7/04
Re: unequal distance interpoaltion
Posted: Mar 14, 2013 10:53 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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);



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.