Interpolation and extrapolation, MATLAB in Engineering

Interpolation and extrapolation:

In most cases, it is desired to estimate values other than at the sampled data points. For illustration, we may want to estimate what the temperature was at 2:30 p.m., or at 1 p.m. Interpolation is estimating the values in between recorded data points. The Extrapolation is estimating outside the bounds of the recorded data. The one way to do this is to fit a curve to the data, and use this for the estimations. The Curve fitting is finding the curve which "best fits" the data.

The Simple curves are polynomials of various degrees. Therefore, curve fitting includes finding the best polynomials to fit the data-for illustration, for a quadratic polynomial in the form ax2 + bx + c, it means finding the values of a, b, and c which results the best fit. Finding the best straight line which goes through data would mean finding the values of a and b in the equation ax + b.

 

Posted Date: 10/22/2012 8:44:08 AM | Location : United States







Related Discussions:- Interpolation and extrapolation, Assignment Help, Ask Question on Interpolation and extrapolation, Get Answer, Expert's Help, Interpolation and extrapolation Discussions

Write discussion on Interpolation and extrapolation
Your posts are moderated
Related Questions
Illustration of initializing the data structure: illustration of initializing the data structure by preallocating is here as shown: >> cyls(3) = struct('code', 'c', 'dimen

Passing Structures to Functions: The whole structure can be passed to a function, or separate fields can be passed. For illustration, here are the two distinct versions of a f

Replacement : Replace a row by adding it to (or subtract from it) a multiple of the other row. For a given row ri, this is written as   ri  - srj →  ri Note that when r

Intersect function and setdiff function: The intersect function rather than returns all the values which can be found in both of the input argument vectors. >> intersect(v

Illustration of finding a sting: Let's enlarge this, and write a script which creates a vector of strings which are phrases. The outcome is not suppressed so that the string

Examine exponential function: The algorithm for the main script program is shown below:  Call a function eoption to show the menu and return the user's choice.  Loop


Removing Whitespace Characters: The MATLAB has functions which will eliminate trailing blanks from the end of a string and/or leading blanks from the starting of a string.

Calling of Function polyval: The curve does not appear very smooth on this plot, but that is as there are only five points in the x vector. To estimate the temperature

Execute a exponential function program: Running the script will take up the menu as shown in the figure: Then, what happens will totally depend on which button(s) the