www.gusucode.com > curvefit 案例源码程序 matlab代码 > curvefit/FitaPolynomialSurfaceExample.m
%% Fit a Polynomial Surface % Load some data and fit a polynomial surface of degree 2 in |x| and degree % 3 in |y|. Plot the fit and data. % Copyright 2015 The MathWorks, Inc. %% load franke sf = fit([x, y],z,'poly23') plot(sf,[x,y],z)