Asked by Federico
on 26 Dec 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.

*No products are associated with this question.*

Answer by The Matlab Spot
on 26 Dec 2013

Edited by The Matlab Spot
on 26 Dec 2013

Refer Anonymous Functions for further details

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply Today
## 0 Comments