Using equation from curve fitting toolbox as transfer function

7 次查看(过去 30 天)
Hello,
I think this question has been asked multiple times in different ways, but I still could not find the answer to my problem. I have a numerical dataset x and y, where y/x = transfer_function. Using curve fitting toolbox I plotted the y vs x. Using the spline function I have a good fit to the data. Now transfer_function in this case is spline function. I would like to use this function as a transfer function in my Matlab script such that change in x values should give me corresponding y values. How do I use the output of cftool as a transfer function ?
  2 个评论
RAN
RAN 2017-10-20
Unfortunately I cannot share the data files. But as you can see that there is a function for f(x) in the results pane. I am just not sure how to use that as a transfer function in my matlab script.

请先登录,再进行评论。

采纳的回答

Birdman
Birdman 2017-10-20
To use it as a transfer function, you need to obtain a model from input/output data. To do that, you can use the SYSTEM IDENTIFICATION TOOLBOX, where you can obtain a model in s-domain at a order that you define. That is the only way I can help.
  4 个评论
Birdman
Birdman 2017-10-20
If we talk about a transfer function, than it has to be in s-domain. The f variable behaves like a equation which firs the IO data.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by