How to construct an anonymous function from the result of the fit command?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Federico
am 26 Dez. 2013
Kommentiert: Federico
am 26 Dez. 2013
Hello,
I am trying to do some data fitting with a data set that resembles an air bubble when plotted. I am trying to obtain a function that defines the surface of the bubble. The following result perfectly fits the the profile.
f=fit(x(:,2),-y(:,1),'smoothingspline')
plot(f,x(:,2),-y(:,1)
Now, I would like to create an anonymous function. How can I accomplish this?
Thank you.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Fit Postprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!