Quadratic Interpolation Matlab script

SPONSORED LINKS

    Specification

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

Quadratic Interpolation script description:



Quadratic Interpolation is a Matlab script for Mathematics scripts design by Duane Hanselman. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Quadratic Interpolation - Interpolation at data midpoints using piecewise quadratic polynomials.

Publisher review:
Quadratic Interpolation - Interpolation at data midpoints using piecewise quadratic polynomials. [Xi,Yi] = QINTERP(X,Y) interpolates the 1-D data described by Y = f(X) at the midpoints between the points in X using piecewise quadratic polynomials. X need not be equally spaced.Xi contains X and all midpoints between adjacent pairs of values in X. If length(X) = N, then length(Xi) = 2*N - 1.Yi contains Y and the interpolated values associated with the midpoint values of X. Therefore, Yi is a quadratically smoothed interpolation of the original data describing Y = f(X).If X and Y are vectors, Xi and Yi are vectors as well. If X is a vector and Y is a matrix, Y must have as many rows as X has elements. In this case the interpolation is done down the rows of each column of Y and Yi is a matrix having as many columns as Y, but 2*N - 1 rows where N is the number of elements in X.[Xi,Yi,Zi] = QINTERP(X,Y,Z) interpolates the 2-D data described by Z = f(X,Y) at the midpoints between the points in X and Y. X and Y may be vectors defining the x- and y-axis data points. In this case, the number of elements in X must equal the number of columns in Z, and the number of elements in Y must equal the number of rows in Z. If X and Y are matrices the same size as Z, they are assumed to be 2-D plaid as produced by MESHGRID.If X and Y are meshgrid type matrices, then output Xi and Yi are meshgrid matrices the same size as Zi. Otherwise, Xi and Yi are vectors containing X, Y and their midpoints. Zi is a matrix containing Z and the interpolated values associated with the data in Xi and Yi. If Z has r rows and c columns, Zi has 2*r - 1 rows and 2*c - 1 columns. If Xi and Yi are vectors, length(Xi) = 2*c - 1 and length(Yi) = 2*r - 1.Algorithm: To support non equally spaced X and MATLAB vectorization, a quadratic polynomial fitting approach is taken. A quadratic polynomial is fit to each sequence of three consecutive data points, e.g., X(i-1), X(i), and X(i 1) for i=2:length(X)-1.These polynomials are then evaluated at the midpoints between their associated data points. Using this approach, one interpolant is computed between X(1) and X(2) as well as between X(end-1) and X(end). Two interpolants are available at all other midpoints. These interior interpolants are averaged. The output of this algorithm is smoother than linear interpolation and faster than cubic interpolation. Requirements: ยท MATLAB Release: R14SP3
Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Related script downloads:

Latest script and internet news

Samsung launched the Premium Music Hub

Samsung launched the Premium Music Hub

Samsung finally gives consumers multiple audio streaming countries promised a while. Premium Music Hub allows users access to over 19 million songs, along with other useful functions.

Posted on: 30 May 2012 13:02 by A. Brown

This could be the first photos of iPhone 5

This could be the first photos of iPhone 5

IPhone\'s case came online in a few pictures that confirm rumors of a larger screen. This could be the first photos of the next iPhone, but nothing is really safe to Apple announcement.

Posted on: 30 May 2012 12:58 by A. Brown

IE 10 for Windows 8, comes with Adobe Flash support

IE 10 for Windows 8, comes with Adobe Flash support

After criticism received at Metro version of Internet Explorer 10 , initially offered no support for Adobe Flash technology, Microsoft has taken measures to correct this problem by working directly with Adobe to integrate the necessary components into the

Posted on: 25 May 2012 10:36 by A. Brown

Windows 8: boot to fast to furious

Windows 8: boot to fast to furious

Last year began to circulate on the Internet videos where Windows 8 systems boot in 7 seconds. Unfortunately, from this performance derives some problems.

Posted on: 25 May 2012 07:28 by A. Brown

SPREAD THE WORD

User Rating

Quadratic Interpolation
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

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