How to calculate error bounds of b-spline interpolation in matlab

Technical Source
2 min readApr 23, 2022

--

Hello,

I am having a data and am trying to interpolate using b-spline toolbox in Matlab. Apart from visually identifying the accuracy, how do i measure it using equations. The code used for interpolation is given below. Please help me on this.

/**code /

p = t; q = x(:,1); plot(p,q,’co’); hold on; s_spl = Bspline(q,3);

s_rec = s_spl(1:213); plot(1:213, s_rec,’b+’);

x_fine = 1:213; s_fine_rec = s_spl(x_fine); plot(x_fine, s_fine_rec,’b+’);

s_fine = q; plot(x_fine, s_fine-s_fine_rec,’r’); grid on; grid minor;

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

You cannot know any kind of statistical error bounds around any interpolation method. Sorry, but you cannot do so.

Interpolation takes a set of points, and produces a curve that passes exactly through those points. Interpolation involves no concept at all of error, or noise. As well, at intermediate points, interpolation produces a fixed, known prediction that is based on the scheme used to interpolate. Again, there is no measure of uncertainty.

An error due to interpolation at intermediate values comes purely from lack of fit, thus the inability of the interpolant to predict the underlying function, because the interpolant is just a tool based on a spline interpolation through a set of arbitrary points. There is no knowledge of the underlying process that produced the data. How can there be?

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source
Technical Source

Written by Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

No responses yet