Surface fitting using custom equation

1 view (last 30 days)
I want to dynamically fit surface to a data sets using matlab SCRIPT NOT GUI SURFACE FIT TOOLBOX...i.e i have matrices for x, y, z. i want to use the a quadratic polynomial of the form z= c1 + c2*x + c3*x^2 + c4*y +c5*y^2 to fit . using the surface fit operation i would like to retrieve these coefficients c1 thru c5. How can i accomplish this using just a matlab script, not the GUI surface fit tool box. I intend to repeat this procedure for lot many number of data sets. I would highly appreciate your help. Thank you ....

Accepted Answer

Matt J
Matt J on 8 May 2013
  1 Comment
Bala Murugan
Bala Murugan on 9 May 2013
Hai Matt.. Thanks... let me check the links u gave. Bt it seems that they are regarding curve fitting not surface fitting. but still let me go through it in details.

Sign in to comment.

More Answers (0)

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!