Fit a polynomial shape, imposing f(x,y)>0

Hi, I would like to fit 3 series of experimental data (x,y, and z) using a polynomial surface.
It works easily with the command "fit". f = fit( [x, y], z, 'poly32' ) How can I force the fitted surface to be always positive ("z(x,y) > 0")
Thanks

Answers (0)

Categories

Asked:

on 12 Mar 2012

Community Treasure Hunt

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

Start Hunting!