SURFIT

Approximation of a matrix via an optimal bipolynomial of user-defined orders.
5.1K Downloads
Updated 18 Nov 2004

No License

You have a data matrix D. You want to find its approximation, matrix SUR same size as D, by a bipolynomial P(X,Y), having orders ORDHOR in horizontal and ORDVER in vertical directions. Bipolynomial is a matrix of coefficients before bipolynomial terms X^(m)*Y(n),
n<=ORDVER
m<=ORDHOR

Solution:

SUR = surfit(D,ORDVER,ORDHOR);

ORDVER: default 1
ORDHOR: default ORDVER

compare the result with:

BIP=bipfit(D,[ORDVER,ORDHOR])
SUR=bipval(BIP,size(D));

Cite As

Vassili Pastushenko (2026). SURFIT (https://www.mathworks.com/matlabcentral/fileexchange/6244-surfit), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Polynomials in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

improve summary