Bump --> How to get transfer function model from Curve fitting object obtained from cftool

1 view (last 30 days)
1) I am using the curve fitting tool to fit a curve to a data containing two vectors. I have attached the data file.
starting data: (xdata,ydata)
2) the main line of the code is:
[fitobject1,gof1,output1] = fit(xdata,ydata,'smoothingspline')
3) Target is to get a transfer function from the fitted curve named "fitobject1".
Do any of you folks have any idea how to do that?

Answers (0)

Community Treasure Hunt

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

Start Hunting!