
2D polynomial fitting with SVD 1.0 File ID: 86143 


 2D polynomial fitting with SVD 1.0 License: Shareware File Size: 10.0 KB Downloads: 18
Submit Rating: 



2D polynomial fitting with SVD 1.0 Description 

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. Uses SVD which is robust even if the data is degenerate. Will always produce a leastsquares 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.
License: Shareware Related: coeffs, increasing, Power, zbar, eval dpolyxycoeffs, Evaluate, higher, orders, Lower, obvious, pointsif, underspecified O/S:BSD, Linux, Solaris, Mac OS X File Size: 10.0 KB Downloads: 18


More Similar Code 

http://simulations.narod.ru/ Solve 2d wave equation with Finite Difference Method. Theory described in description.docx. Droplet put on the water surface to start waves. There is a decay in wave equation. conv2 function used for faster calculations. as_colormap.m  visualization of waves as colormap. as_surface.m  visualization of waves as surface. refraction.m  visualization of waves with refraction reflection.m ...
polyfitweighted2.m and polyval2.m  polyfitweighted2.m: Find a leastsquares fit of 2D data z(x,y) with an n th order polynomial, weighted by w(x,y).
polyval2.m: Evaluate 2D polynomial produced by...
Completed as part of my degree, this is a simple 2d FEA script with the default model a bike frame. A model is defined using nodal coordinates. Forces and boundary conditions are set and element type (rod, beam or frame) can be selected.
Ruby interface to the CRM114 Controllable Regex Mutilator, an advanced and fast text classifier that uses sparse binary polynomial matching with a Bayesian Chain Rule evaluator and a hidden Markov model to categorize data with up to a 99.87%...
Gruesome is a online 2D team shooter with a ruby + c server and flash client. It lets you join the game and start killing your colleagues and friends within mere seconds.
Various Standard ML utilities, including a 2D drawing library with SVG and LaTeX backends.
There are 2 implementations of RANdom SAmple Consensus algorithm in the file, one for 2D line fitting only, the other for general purposes(fitting dataA with data B). Example (Finding a homography between 2 images) is provided and the comments are...
Polynomial explorer. You tell this module what order of polynomial you want and it will set up a figure with a graph of that polynomial plotted with x = 1 to +1. It will set up a second figure with a set of coefficient axes. You can click on the...
Thee purpose, 1. Speed up the convergence of correcting for each points (By newton method). 2. To find the first few points by this method instead of R.K. method. 3. To apply for higher order polynomial fitting.
Generate dynamic Java charts and graphs as applets or JSP/servlets. Swiftchart provides bar, line, pie, stacked and grouped charts in 2D and 3D with a wide range of parameters and chart types. 
User Review for 2D polynomial fitting with SVD 
