output of surface fit function to workspace
Show older comments
Hi! By using the GUI of cftool or by using the command "fit( [x, y], z, 'poly22')" I can fit x,y and z-data to get a function like
f(x,y) = p00 + p10*x + p01*y + p20*x^2 + p11*x*y + p02*y^2
with:
p00 = 0.0005919 (0.0005906, 0.0005932)
p10 = -0.03397 (-0.03401, -0.03393)
... and so on
Is there a way to get an output of the pxx-values to workspace?
I mean like when you fit 2D-data with "[p,S]=polyfit(x,z,2)" these values are written to p.
Thaks a lot :)
Accepted Answer
More Answers (1)
Theo
on 7 Aug 2013
0 votes
Categories
Find more on Interpolation 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!