01.06.2013 Views

Practical Rational Interpolation of Exact and Inexact Data Theory ...

Practical Rational Interpolation of Exact and Inexact Data Theory ...

Practical Rational Interpolation of Exact and Inexact Data Theory ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

118 A. S<strong>of</strong>tware<br />

A.2 <strong>Rational</strong> interpolation <strong>of</strong> vertical segments<br />

For the technique presented in Part II, in particular Chapter 6, a dimension<br />

free Matlab implementation is given. The reference documentation for the<br />

function vertsegmapprox.m is given below.<br />

VERTSEGMAPPROX Finds rational function(s)<br />

that intersect vertical segments.<br />

[N, M, Lambda, Exitflag, Output]=vertsegmapprox(X,Fl,Fh,Opts)<br />

returns the simplest rational function from R^n ro R<br />

with numerator degree set N, denominator degree set M <strong>and</strong><br />

coefficients Lambda such that it intersects the vertical<br />

segments (X,[Fl, Fh]).<br />

- X must be a [k x n] matrix containing data<br />

[ x11,x12, ...,x1n<br />

x21,x22, ...,x2n<br />

x31,x32, ...,x3n<br />

. . ... .<br />

. . ... .<br />

. . ... .<br />

xk1,xk2,...,xkn]<br />

- Fl (resp. Fh) must be a [n x 1] column vector corresponding<br />

to the lower (resp. upper) bounds <strong>of</strong> the segments [Fl, Fh]<br />

such that Fl < Fh<br />

Opts is an optional structure that defines algorithm<br />

behavior. If Opts is empty or not given, default<br />

Options are used.<br />

Opts = vertsegmapprox(’Name’,Value,...) set values in<br />

Options structure based on the Name/Value pairs:<br />

Name Values{default} Description<br />

’Display’ {’<strong>of</strong>f’} No Display <strong>of</strong> Iteration Info<br />

’iter’ Display each Iteration<br />

’MaxDiag’ {100} Maximum Diagonal to explore<br />

’StartDiag’ {0} Starting Diagonal<br />

’Basisfun’ {’monom’} Monomial basisfunctions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!