2.66667

2.7 | 3 ratings Rate this file 3 Downloads (last 30 days) File Size: 1.98 KB File ID: #6960

Interpolation

by Sokthai Chan

 

20 Feb 2005 (Updated 14 Nov 2005)

Tschebyscheff interpolation.

| Watch this File

File Information
Description

Tschebyscheff and Equi-interval method for interpolation program.

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
01 Oct 2005 Duane Hanselman

This is not a function. It is a simple example and nothing more. It has no value except as a demonstrative example.

25 Oct 2005 Matlab User

I was looking for an example to improove my theory. It's exactly what I was looking for.
Thank you!!

19 Dec 2005 Greg von Winckel

You can do this in one line of code
L=cos(acos(linspace(-1,1,Nl)')*(0:Nc))/cos(pi*(0:Nc)'*(0:Nc)/Nc);

Now just sample your function at N+1 Chebyhev points, store as a column vector and multiply by the rectangular matrix L.

17 May 2006 Vassili Pastushenko

I join Greg: this here is an example of antiMatlab in the sense of vectorization which is missing almost everywhere.

I join Duane: because the first command in this SCRIPT deletes all your variables, the script can have only some illustrative meaning, but is completely useless as a tool which every user would expect to find.

Finally, the example of Cauchy pdf is very specific, and any comparison of interpolation accuracy and speed with standard methods is missing (e.g. interp1(...,'spline')).

Should be completely revised.

Please login to add a comment or rating.
Updates
09 Mar 2005

e-mail address are changed.

14 Nov 2005

bug correction

Tag Activity for this File
Tag Applied By Date/Time
approximation Sokthai Chan 22 Oct 2008 07:41:37
interpolation Sokthai Chan 22 Oct 2008 07:41:37
sokthai chan Sokthai Chan 22 Oct 2008 07:41:37
mathematics Sokthai Chan 22 Oct 2008 07:41:37
approximations Sokthai Chan 22 Oct 2008 07:41:37

Contact us at files@mathworks.com