A Parabolic Lagrangian Interpolating Polynomial Matlab script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: lagrange.m
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: Matlab
  • Price:Freeware
  • Company: Jeff Burkey (View more)

A Parabolic Lagrangian Interpolating Polynomial script description:




Publisher review:
A Parabolic Lagrangian Interpolating Polynomial 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. Syntax:estY = lagrange(datainXY, x, N);where:datainXY = (N x 2) double, Col1 = X, Col2 = Yx = x-value used for locating estimate of YN = number of points in datainXY to use for interpolationRequirements: None Requirements: ยท MATLAB Release: R2007a
A Parabolic Lagrangian Interpolating Polynomial is a Matlab script for Statistics and Probability scripts design by Jeff Burkey. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5