polyBox: version V2.1
July 2013
Introduction
------------
This toolbox extends the capabilities of polynomials as implemented in MATLAB. The following functions are made available:
polyadd: polynomial addition with covariance propagation.
polymult: polynomial multiplication with covariance propagation polyfitcov: extends polyfit to return the covariance of the coefficients.
polytrans: transforms the shifted polynomials coefficients to unshifted coefficients.
polyvander: generates a vandermonde matrix exachtly as used in polyfit and polyval, including the shift and scaling if desired. This function is used in may of the other scripts to extend the capabilities of MATLAB with respect to polynomials.
polydiffcfs: Generate the matrix M which performs differentiation on the coefficients of a polynomial. This function is used internally to generate constrained polynomials.
polyconstrained: Generate a set of constrained polynomials, i.e., a set of polynomials which fulfil a set of generic constraints of the form D^(n) Y(a) = b. Such constraints are common in initial value and boundary value problems. Usable as admisssible functions in a discrete implementation of a Rayleigh-Ritz method.
polydifflocal: Generate a matrix D which performs local polynomial differentiation.
polyfitconstrained: This functions performs a least squares approximation of a set of data points x, y, while fulfilling predefined constraints. This type of problem occurs in many measurement problems (inverse problems), e.g., the measurement of the deflection of structures.
Origially, the toolbox started as a tutorial on the implementation of polynomials in MATLAB. The comprehensive tutorial, with derivation of all the equations behing the implemation, is still part of the toolbox. However, the number of functions added has grown to an extend that it has become a toolbox in its own right.
Organization
------------
The library is organized as follows:
1) Tutorial: The directory containing the introductory tutorial on polynomials and their implementation in MATLAB
2) Advanced:
- ConstrainedApproximation: Examples of constrained fitting.
- ConstrainedPolynomials: Examples of constrained polynomials.
3) polybox: the source code for the toolbox.
Changes
-------
Version 2.1
1) The theory, i.e. all derivations, reuired for the generation of constrained polynomials and for the computation of least squares constrained polynomial approximation have been added.
2) Some minor variable renaming has been performed in polyconstrained.m to make the code more consistent with the documentation. This has no effect on the functionality. |