# 2D polynomial fitting with SVD (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

• Last update: 5 years ago
• Operating system: Linux, Mac OS X, Win All, BSD, Solaris
• Publisher: Richard Whitehead
See full specifications

## 2D polynomial fitting with SVD (Scripts) Publisher's description

### Use coeffs = fit2dPolySVD(x, y, z, order) to fit a polynomial of x and y so that it provides a best fit to the data z.

Use coeffs = fit2dPolySVD(x, y, z, order) to fit a polynomial of x and y so that it provides a best fit to the data z.
Uses SVD which is robust even if the data is degenerate. Will always produce a least-squares best fit to the data even if the data is overspecified or underspecified.
x, y, z are column vectors specifying the points to be fitted.
The three vectors must be the same length.
Order is the order of the polynomial to fit.
Coeffs returns the coefficients of the polynomial. These are in increasing power of y for each increasing power of x, e.g. for order 2:
zbar = coeffs(1) + coeffs(2).*y + coeffs(3).*y^2 + coeffs(4).*x + coeffs(5).*x.*y + coeffs(6).*x^2

Use eval2dPoly(x,y,coeffs) to evaluate the polynomial at any (x,y) points.

If the data is underspecified then the LOWER order coefficients will come out as zero, the solution being a fit using higher orders; use a lower order fit for a more obvious solution in this case.

#### System Requirements:

MATLAB 7.12 (2011a)
Program Release Status: Major Update
Program Install Support: Install and Uninstall

#### 2D polynomial fitting with SVD (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.