![]() ![]() The common Newton’s forward formula belongs to the Forward difference category. To determine the value of f(x) or f’(x) for some intermediate values of x, the following three types of differences are found useful. Suppose that the function y=f(x) is tabulated for the equally spaced values x = x0, x = x0+h, x = x0+2h ,……… x = x0+nh, giving y= y0, y1, y2,……, yn. However, extrapolation is beyond the scope of this code. ![]() Thus interpolation is the technique of estimating the value of a function for any intermediate value of the independent variable while the process of computing the value of the function outside the given range is called extrapolation. Then the process of finding the value of y corresponding to any value of x=xi between x0 and xn is called interpolation. Suppose we are given the following value of y=f(x) for a set values of x: The gaussian interpolation comes under the Central Difference Interpolation Formulae which differs from Newton's Forward interpolation formula formula. Interpolation refers to the process of creating new data points given within the given set of data.The above MATLAB code computes the desired data point within the given range of discrete data sets using the formula given by Gauss. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |