Tschebyscheff and Equi-interval method for interpolation program.
Sokthai Chan (2020). Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/6960-interpolation), MATLAB Central File Exchange. Retrieved .
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.
You can do this in one line of code
Now just sample your function at N+1 Chebyhev points, store as a column vector and multiply by the rectangular matrix L.
I was looking for an example to improove my theory. It's exactly what I was looking for.
This is not a function. It is a simple example and nothing more. It has no value except as a demonstrative example.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!