How can you get a mathmatical function from a simulink plot?

For the graph added in the picture I need to have a mathmatical function. Can someone please give me the steps needed in order to archieve this?

4 个评论

If possible, provide your data please,rather than a picture only.
Dear Alex,
I have tried the following:
  • log the graph as a dataset
  • try to load it
But I get an error, please watch the pictures provided.
The scope does not provide the option to chose a place to store the data. Also I cannot find in on my pc.

请先登录,再进行评论。

回答(1 个)

Finding a model or function is a very broad field.
Depending on the nature of the problem and requirements, many tools and techniques might fit the need.
Potential tools include MATLAB's polyfit, A\B or Curve Fitting Toolbox or System Identification Toolbox
Since your plot is coming from a Simulink model, I suggest you explore
Simulink Control Design's model linearizer which provides tools for getting a linear dynamic system model fit to a section of a Simulink model.

1 个评论

Dear Andy,
Thank you for this answer but I am currenly not able to dive to deep into this app, although I allready have it. For my problem I am looking for a more specific answer.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Event Functions 的更多信息

产品

版本

R2020b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by