Piecewise Polynomial Functions Matlab script

SPONSORED LINKS

    Specification

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

Piecewise Polynomial Functions script description:



Piecewise Polynomial Functions is a Matlab script for Mathematics scripts design by Duane Hanselman. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Piecewise Polynomial Functions - Piecewise Polynomial functions, i.e., splines and pchip, derivative, integral, zeros, etc.

Publisher review:
Piecewise Polynomial Functions - Piecewise Polynomial functions, i.e., splines and pchip, derivative, integral, zeros, etc. PPfun = PPCREATE(X,Y,Type,P,Tag) creates a function handle PPfun for a 1-D piecewise polynomial described by the data X and Y. Type is a character string identifying the type of piecewise polynomial desired. P is an optional array of parameters required for some Types.Tag is an optional character string to store with PPfun for identification purposes.Type/Description'pchip' same as MATLAB PCHIP function, no P required.'spline' same as MATLAB SPLINE function, no P required.'notaknot' same as MATLAB SPLINE function, no P required.'extrap' same as MATLAB SPLINE function, no P required.'natural' spline, y''=0 at end points, no P required.'parabolic' spline, first and last polys are parabolic, no P required.'clamped' spline, P is two element vector of slopes y' at end points.'curvature' spline, P is two element vector of y'' at the end points.'hermite' spline, P is a vector of slopes at all points in X.PPfun = PPCREATE(PP,Tag) where PP is the 1-D piecewise polynomial structure returned by PP = PCHIP(X,Y) or PP = SPLINE(X,Y) creates a function handle PPfun containing PP. Tag is an optional string as described above.PPfun2 = PPCREATE(PPfun,Op,P,Tag) peforms the operation specified by the string Op on the piecewise polynomial function handle PPfun, returning a new function handle PPfun2. P is an optional parameter. Tag is an optional string as described above.Operation/Descriptiondiff differentiate the piecewise polynomialint integrate the piecewise polynomial, P is the integration constant or initial value of the integral.tag store tag string P with function handle.inv inverse interpolation function handle returned, e.g., PPinv, interpolates the piecewise polynomial, such that [Xi,Yi]=PPinv(Yi) finds all points Xi where the piecewise polynomial has the scalar value Yi. If none are found an empty array is returned. On output Yi=repmat(Yi,size(Xi)).PPinv('tag') returns the tag assigned to PPinv.cut cut spline apart, P = [Xmin Xmax] defines the range of the revised piecewise polynomial.The created piecewise polynomial function handle PPfun has the following features:Sytax/DescriptionPPfun(x) evaluate the function at the points in x.PPfun('tag') return Tag string stored in PPfun.PPfun('pp') return MATLAB-defined piecewise polynomial structure.PPfun('breaks') return breakpoints X used to create PPfun.PPfun('pieces') return number of piecewise polynomials, length(X)-1.PPfun('order') return order of the piecewise polynomial. (4 = cubic)PPfun('plot') plots the piecewise polynomial over its entire range.
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

Piecewise Polynomial Functions
Rating: 0.0 out of 5
Based on 0 ratings. 0 user reviews.

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