About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconA Parabolic Lagrangian Interpolating Polynomial Function (Scripts) Publisher's description

This function uses a non-linear interpolation (Lagrange) to estimate y given x

This function uses a non-linear interpolation (Lagrange) to estimate y given x, based on a set of observed x-y points. Coordinates will be sorted based on the x-value of the pair. The x-value provided by the user to calculate y will be estimated using two points left and two points right of the provided x-value.

While this function will allow the user to prescribe any number of observed points to be used for the interpolation, caution should be used when more than four points are used in the equation. This function will induce oscillations such that accuracy of interpolation may diverge intermittently on linear types of data.

Again, similar to the Mann-Kendall trend test (i.e. ktaub.m), this function is written to maximize the capabilities of Matlab both in terms of intrinsic speed of the logic written here and utilizing native Matlab functions as much as possible without overtly complicating the process.

Essentially, there are 10 lines of code to perform the calculation. All the rest are more administrative in nature.

Also previously stated, the trade-off for not using any recursive logic does require more memory to be used given how arrays are manipulated in Matlab. However, unlike the trend test, this function is highly unlikely to use any excessive amounts of memory beyond what the user consumes with the data prior to being processed here. Unless, of course, the user specifies some ridiculous amount of points to be considered as part of
the interpolation.

If an error is trapped and returned, it's most likely caused by the user specifing an x value such that the provided x-y data does not have enough x-values to bracket the intended estimate, causing an EXTRAPOLATION.

estY = lagrange(datainXY, x, N);

datainXY = (N x 2) double, Col1 = X, Col2 = Y
x = x-value used for locating estimate of Y
N = number of points in datainXY to use for interpolation

System Requirements:

MATLAB 7.4 (R2007a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

A Parabolic Lagrangian Interpolating Polynomial Function (Scripts) Tags:

Click on a tag to find related softwares

Is A Parabolic Lagrangian Interpolating Polynomial Function (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.